Google Analtyics Cross Domain Tracking - in a form
-
I have a 3rd party booking engine that is causing my own domain to show up as a top referreral in google analytics. The vendor is on my very last nerve So they're not helping.
Would anyone be interested in helping a newbie out with a frustrating problem?
Code:
Reservations Page -
function SubmitReservationForm() {.
.
.
.
ResLink = "http://www.bookingengine.com/res/vn4/checka.aspx?month=" + Month + "&day=" + Day + "&year=" + Year + "&nights=" + Nights + "&rooms=" + Rooms + "&adults=" + Adults + "&children=" + Children + "&B1=Check+Availability&hotelid=xxxx"
pageTracker._link(ResLink);
return true;
}On Every page:
Any thoughts would be appreciated! I believe the problem is pageTracker._link(ResLink); but I'm clueless on fixing it.
-
Were you able to get this working, or do you still need a hand? If you got it working, would love to know the solution; otherwise we're happy to take another stab at this for you.
-
Thanks I'll take a look again. My form is special I guess, you leave the site and there's no iframe
-
The difference between link and form is as following: on the form, the user stays on your website, interacts with the 2nd parties website in an iframe and can click on the menu on the left - this causes the referral.
I don't know how much you know about it - maybe the following can help you:
Have a look at this page: http://www.google.com/support/analytics/bin/answer.py?answer=55532 - this describes the basics regarding tracking of 3rd party websites.
More details can be found here: http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html
Have you tried asking the question on the Google Analytics Google group? I haven't used this feature by now - maybe there are some ppl that could help you easily.
-
http://www.ronjonresort.com/reservations/default.aspx - That's the page, since your'e being sooo helpful, I should make it easy.
Yes they leave my site. Click Check Availability
-
clear - this is because the user is leaving the page and doesn't continue on your page after tracking the link to the external domain.
Does the user continue on your page after submitting the form?
-
I think I could, but supposedly this should work! Google says it works, my vendor says it works (though I don't believe them :P) and I have it working for a link just not a form
-
I don't own the second domain, the booking company does. So I don't care and can't control what they do on their end. So this is all on my site.
This problem is using the form rather than a traditional link, when I have straight link like this, I don't get the erroneous enteries as my domain as a referral in GA.
onclick="pageTracker._link(this.href);return false;">
Book NowThanks for your help BTW
-
Why don't you just filter this out in GA?
-
Sure. But would you like to track these page views on your domain, or on the 2nd domain? If for the 2nd, you need another (new) tracker object initiated for the 2nd domain. If not, you could potentially use event tracking ( http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html ) - but unfortunatelly you cannot use this for funnels. If you need to track the sales on your 1st domain and with pageviews you might track virtual urls like e.g. "/__actions/sale/step1?xxx" - they can be used for the tracking of goals and funnels.
-
I changed the names for the post, not sure that's necessary. bookingengine.com is the second domain that hosts our online reservations systems. I realy would like to track through out the reservations making process which is the reason for the tracker object.
-
I guess, http://www.bookingengine.com is not your domain, right? Why do you need this tracking in the javascript function SubmitReservationForm() - is this that your partner can track the sales? The _tracker - object you are using in this function looks like your own - so this is tracked on your domain. If you not need the tracking, just comment it.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Google Analytics Not Properly Attributing Goals
My GA has been working fine for years and is now suddenly attributing 100% of my goals/conversions to a "referral" source. In this case "crm.zoho.com". (see attached url) Our contact form is a zoho CRM form. When prospect fills it out online, it dumps them to a thank-you page and the conversion is counted. That all works just fine, but it is not attributing the conversion to Organic or PPC or Direct as it was a month or so ago. I'm not sure if this may be the cause, but I was cleaning up GA about a month ago, deleting some filters I didn't think I needed any more. Thank you for your help. 9CRUx
Reporting & Analytics | | sanctuary2420 -
How is Google Analytics defining page depth?
We run two websites and as part of our KPIs we are treating those who visit 3 or more pages of our website as a client served. As a digital team we are not convinced that this is the best metric to use as the improvements we are making to the sites mean that people are able to find the information quicker. Additionally other organisations including forums etc link to us so those users will get the info they need in one click. What I would like to know is how Google calculates page depth in GA. Are they treating the landing page as ground zero and then when users clicks a link they go one page deep? Or is the landing page, page depth 1 . Is page depth a measure of how many clicks a user needs to find their information?
Reporting & Analytics | | MATOnlineServices0 -
Google Analytics Organic Accuracy?
Hi, On a cool summers day, I was quenching my thirst for SEO Knowledge in the depths of Google analytics, When I stumbled upon a most troublesome sight. I was Browsing the data inside Acquisition->Keywords->Organic and comparing them to Acquisition->Search Engine Optimization->Landing Pages, to find the results quite questionable.. Since Keywords->Organic measure the visits from the organic results, and Search Engine Optimization->Landing Pages measures the clicks onto one of my landing pages from Google, I assumed they should be the same or very close, (besides Keywords->Organic having visits from other search engines) but they were not the same, as a matter of fact it was telling me that Keywords->Organic visits = 1,474, 27.19% of total(5,422) and Search Engine Optimization->Landing Pages, clicks = 1,548 154.80% of total (1000). Even worst the Search Engine Optimization -> Queries clicks = 1,123, 160.43% of total(700). I have been searching, and come up empty handed in the answer so does anyone know why Google is showing me different results and strange numbers that don't make sense? Any information is greatly appreciated?
Reporting & Analytics | | KBB_Digital0 -
Showing significant visit in google analytics
Hello Everyone, I was checking GA account of my site and I have found there are few keywords have significant number of visits in GA. These keywords not ranking even in hundred(google SERPs).I am not understanding from where these visitors coming .Please help me out. I am attaching screenshot of those keyword.Last but not least when i check source of these keywords source are google. Thanks aScZ8WT.png
Reporting & Analytics | | Alick3000 -
Setting up goals in Google Analytics
Hello! This question is seems so obvious that I'm also ashamed to ask... almost. If the goal of a website is to have a visitor complete a contact form, when setting up the Goal in Google Analytics (as a "URL destination") the URL of choice would be the form's thank you page, correct? Because that's the page that proves the visitor completed the task we want them the achieve. Right? Thanks!
Reporting & Analytics | | SmileMoreSEO
Erik0 -
Event Tracking Not Working
Hey there. Could use some help in figuring on why the event tracking code on this site http://www.baltimoreareahondadealers.com is not working. There is code on all external domain links but none seem to be firing. Inspect all the map links to view code ie. Search New Honda Inventory What am I missing? Thanks so much. -Caryn
Reporting & Analytics | | Caryn0 -
Domain Authority
Recently when doing my usual research that I do weekly I noticed a drastic drop in my domain authority. How or why does this happen and how can I fix it? http://www.brick-anew.com/ Thanks
Reporting & Analytics | | SammyT0 -
Is there a way to use Google Analytics event tracking for YouTube embedded videos on my website?
Hello! I am trying to track different types of interaction on the YouTube for videos which are embedded on a website to measure the interaction on these video from my organic traffic. Is there a good way to go about this with the code since these are coming from an iFrame on YouTube? Would appreciate any feedback or help on implementing the event tracking with YouTube videos. Many thanks!
Reporting & Analytics | | CabbageTree0