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.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Tracking repeat buyers Universal Analytics
Hi there, I want to track the repeat buyers on my ecommerce. In order to do that, I am going to create a custom dimension on Analytics. The custom dimension will be called "repeat_buyers" with scope user because I want to track the user over time. Is my assumption correct? How would you you set it up? When I have this dimension, I would just apply the default metric transaction on my reports. I don't have experiencie on custom dimensions so I might be totally wrong. Can you please help? Thanks and regards
Reporting & Analytics | | footd0 -
Google Analytics: How to Track Blog Traffic that Enter the Purchase Funnel?
I've been trying to figure this out for awhile, but I have had no luck. The current ecommerce store that I work for is trying to find out how to track how many people coming in via the blog are converting/buying. The site lives on Magento and the blog is on wordpress and they both use the same Google Analytics code. Site URL: http://website.com/ Blog URL: http://website.com/blog Is there anyway to do this so you can see which landing pages are driving conversions? If not, Is it possible to set up Google Analytics to show conversions and revenue coming from people who enter through blog directory?
Reporting & Analytics | | Erik-M0 -
Moving data between Google Analytics Properties
Last summer we setup another Google Analytics property for us with Universal Analytics and have been running this alongside the old Google Analtyics property. is there a way of exporting all the old data from the old property into the new Universal Analytics property?
Reporting & Analytics | | ese0 -
Google as referring domain
Hi all, a colleague asked a question, which I could not answer (never even noticed this "problem") 😞 When we are logged into our GA account and go the referring domains section, we find Google. I always thought that these visitors came via Google Image Search, but not all of them do. Most of them come via "/imgres", but some come via "/" (always thought that "/" was the homepage?), "/url" and "//" Maybe I am just stupid, but honestly I could not explain what these strings mean... or how these visitors landed on our site... Can you help me???
Reporting & Analytics | | accessKellyOCG0 -
Where should I insert the code when I track an event on GA?
hi mozzers, I am trying to setup my first event to count the numbers of downloads of an infographic(pdf file) we just created on GA and after some research I figured that I should add this piece of code (below) but where exactly? <colgroup><col width="386"></colgroup>
Reporting & Analytics | | Ideas-Money-Art
| _gaq.push(['_trackevent', 'PDF', 'Download', 'name of file']); | Should I put it just in between _gaq.push(['_setDomainName', 'coit.com']); and _gaq.push(['_trackPageview']); ? Please provide details because I ve never done this before Thanks 🙂0 -
Google Analytics Campaigns
I need the help of a smart Mozzer. In Google Analytics: Traffic Sources>Sources>Campaigns all the results shown are from RSS. Can anyone help me with why RSS results would be displayed in Campaigns?
Reporting & Analytics | | waynekolenchuk0 -
Track image searches on google analytics
How can i track image searches on google analytics? To filter the refferers by image.google or /imgres does not work in new google analytics (and brings an impossibly small number on old GA). also, this would not cover local google image refferers, that don't come from image.google.com. anyone knows how to find image search sources? i haven't found anything helpful in google's documentation or forums. thanks!
Reporting & Analytics | | zeepartner0 -
Google analytics - help
Hello, What is meant by campaign expiration in Google analytics ? The default value is 6 months. what does it mean ?
Reporting & Analytics | | seoug_20050