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
-
How to do Conversion Tracking for Homepage banners?
Hello All, I want to do banner conversion tracking for my ecommerce site. That is at my homepage I display 4 banners with special offers on 4 different products. Now that 4 products are already falls in relevant categories. I did event tracking for banners from where I can know how many clicks I am getting from each banner but My Query is how to know conversion of all 4 banner products because once I create goal that is funnel like 1) home page 2) product page 3) checkout step 4) Thank you page. But problem comes here is if anyone purchase these product from categories that also comes in goal so how to differentiate conversion of products from homepage and category pages? Is there any implementation via enhance ecommerce? Hope you understand my query? If any confusion do let me know. Thanks!
Reporting & Analytics | | micey1230 -
Google Analytics - Tracking multiple thankyou pages?
Hi Guys, I want to track email opt-ins for multiple thank you pages. The setup is as follows: http://image.prntscr.com/image/57632e05a15f42fda0b8ffec2d176460.png I have not yet built the thank you pages, so i was wondering what the URL should be to make it easy to track them in GA? I'm thinking: domain.com/thankyou-page/page1 Then using regular expression in GA to track /thankyou-page/ Would this be a good way to go about it? Cheers. f6c7r0
Reporting & Analytics | | spyaccounts110 -
Cross Domain Tracking for multiple sub-domains with multi-lingual and culture versions
Hi, I have a question regarding cross-domain tracking that I haven't seen answered completely elsewhere. A client has a main domain, we'll say www.example.com and 4 or 5 sub-domains e.g. shop.example.com, support.example.com, account.example.com and service.example.com. The different sub-domains are managed by different third parties, with just www.example.com and account.example.com under our control. To add a further dimension, these sites all have multi-lingual versions as folders and in some cases multi-cultural versions e.g. www.example.com/de/ for Germany and www.example.com/ch-de/ for German-speaking Swiss. Not every language/culture has an equivalent site in place for each of the sub-domains e.g. the UK support site serves Denmark and Swiss-German users will use the German site: www.example.com/dk/ links to support.example.com/uk/ for support-based content
Reporting & Analytics | | Nobody1565908128979
www.example.com/ch-de/ links to support.example.com/de/ At present, they use different analytics tracking codes and accounts. Moving forward, they would like to consolidate the data together to be able to see the collective and separate performances. They would also like to be able to see goal completions from referrals when someone clicks from the main domain to the sub-domain or across sub-domains or potentially across language and culture too. I have several questions I would really appreciate some guidance on: What will be the best way to configure Google Analytics to achieve this? Will we need to decorate the HTML links in between each of the sites? Will we need to use a new Google Analytics property? It may not be easy to answer this based on the information above, so I'm happy to provide additional information if required. Thanks in advance for your help.0 -
Google not reading my canonical links
Hi All, New to SEOmoz but so far love it. My reports list tons of duplicate links and webmaster tools does as well. In fact it just updated last night and added several hundred more. I have the canonical tag on my products. Here is a product example page: http://www.stonehousecollection.com/card/funny-christmas-cards/KX296a.html Thank you for the help. Matt
Reporting & Analytics | | mker0 -
Multiple Domains in Webmaster Tools
Our client has four domains all redirecting to one domain. aquatron.info, www.aquatron.info, and www.aquatronhardwatersolution.com are all set up to redirect to aquatronhardwatersolution.com. I would like to make sure that we are getting the most link juice and that they are set up correctly in Google Webmaster Tools. Any help would be great. Thanks!
Reporting & Analytics | | PolarisWebSEO0 -
Alternative to Google Analytics
Hi from sunny Manchester! I'm looking for recommendations for alternatives to GA. I'm specifically looking for something which won't sample data and will give us accurate numbers. Our site is pretty big, it receives 6 million+ visits and 50 million+ pageviews/year. Any recommendations would be greatly received together with any good/bad experiences you've had with them. Thanks in advance, Brendan.
Reporting & Analytics | | Confetti_Wedding0 -
Google anomaly
Hi, As per Google's Keyword Tool , the exact search volume for a particular keyword is 22000. As per Google's Webmaster Tool , my SER for the same keyword is 5.8 BUT , I see only 500 impressions for this keyword in webmaster ! Can someone help decipher this behavior ?
Reporting & Analytics | | iamnew0 -
Tracking SEO tests
Trying to get some best practices on testing SEO changes. We are going to make a bunch of changes on subsets of pages. Say testing about 5 different on-page changes. Originally we were going to submit separate Sitemaps to GWT and see if our test sets get indexed, how quickly, etc. But we noticed that GWT says some pages in our Sitemaps aren't indexed even though we know they are (what gives?). So we thought, for each test, let's put a unique code on the page so we can see how many get indexed by Google. But that doesn't solve the issue: how many people clicked on our test pages. So we are thinking of putting a tracking pixel on the test pages, specific for each test. But then I am thinking, why not just create a separate Google Analytics profile and place that code on the test pages (set up goals to track visits per test since we aren't going to change the actual URLs). and on and on This is where you come in. What kind of tracking do you implement when you set up tests? Advice appreciated! E
Reporting & Analytics | | ErinTM0