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 Tracking Code Problems
I am having a problem with my Google Analytics tracking codes. The relevant GA tracking codes have been entered into the source code of certain sites I'm running campaigns on, but Google Analytics is still telling me that the tracking code hasn't been installed - yet it has. What could possibly be the problem here? I have checked that these sites don't run off multiple domains, and that the tracking code has been entered in the correct place within the source code - and yet I am still having problems with GA. Any suggestions?
Reporting & Analytics | | WebhouseISP0 -
Why does Google dislike us so?
Hi all, Over the past 18 months one of the sites I look after, www.english-inns.co.uk, has taken a massive dip in Google rankings (as per the graph attached). To give you an idea of what the site is about, we're effectively the largest directory of inns in England and have a mixture of exclusive offers direct from member inns but also have some affiliate links thrown into the mix. In terms of steps taken to remedy our falling out of grace with Google, these have included: A complete website redesign Removal of any duplicate content 'Adding value' by including interactive maps, better search functionality, promoting exclusive offers, etc. Unfortunately none of this seems to have helped our situation and we are now sitting at some pretty horrible places in Google's SERP's. For example, even for the keyphrase "english inns" we only rank #5 and this is a term associate with our brand! Perhaps I'm missing something obvious here... can anyone see any glaring issues with the site? Any help would be most appreciated Mozzers. Cheers google-analytics.png
Reporting & Analytics | | dooberry0 -
No option to connect to google analytics!
I figured it out had to click on the pencil icon. On GA looks like this http://orlandocouponsfree.com - http://orlandocouponsfree.comUA-9313894-1orlandocouponsfree.combut url is http://www.orlandocouponsfree.com/Is this an issue? When I tried to connect to google analytics yesterday. There was a connection issue with Moz & GA. I refreshed page hoping it would help. Now it won't let me choose domain. When I view campaign it says I should connect properties. [IMG]http://i.imgur.com/jkJ0ZdF.png[/IMG] I click link and get to this page which doesn't provide my an option. http://analytics.moz.com/settings/campaign/89561.117561 [IMG]http://i.imgur.com/jkJ0ZdF.png[/IMG]
Reporting & Analytics | | touristips0 -
Google Search Bar Vs Address Bar To Determine Number Of Times the Domain Name Is Typed In..
Hello, I'm trying to get a rough estimate of how many times a domain name that we're interested in acquiring is typed in to the address bar. If the google keyword tool says for instance, that the exact match domain name is typed in 720 times, how many times it typed in to the address bar? example.com - 720 global searches Thanks!
Reporting & Analytics | | Optimize0 -
Google Analytics - Cross Domain Tracking Goals
Hi guys, looking at the best way to organize this - Site 1 - Shoe Store - (Old site with analytic history - UA-12345-1) Site 2 - Clothing Store - (Brand New UA-54321-1) Right now i have 2 separate GA Accounts for the sites. But i would like to track goals from Site 2 to Site 1. For that i need to set up cross domain tracking. So i take it i would need to create another account under Site 1 - (UA-12345-2) and put that new code on Site 2? Or do the UA numbers have to be exact? example both 12345-1? In which case, i would need to set up 2 different profiles with filtering? Main concern is i want to keep separate data for both sites, espically if UA's will be the same. Trying to visualize - UA-12345-1 Profile 1Shoes/Master Profile 2 Shoes Profile 3 Clothes Or UA-12345-1 Shoes UA-12345-2 Clothes Thanks, Mike
Reporting & Analytics | | IsHot0 -
Tracking page visits
Hi guys After a lot of effort and late nights our website has gone online. http://www.health2000.co.nz/ In google Analytics am I able to see what pages individuals clicked on before they went to the cart? Ive had a look at GA 'Flow Visualsiton' but it seems a little confusing. Thanks for your help Pete
Reporting & Analytics | | dawsonski0 -
Linking domain dropped followed by significant decrease in Domain Authority
A relatively high ranking site disappeared from the linking root domains of a client site, and the site dropped significantly in domain rank, authority, and trust. Oddly enough, traffic is almost double the previous week, and search results for keywords remain strong. I checked OSE and the linking domain is not listed. There are also several other linking root domains that have never shown in the domain analysis, but we'll leave those for a later topic. I visited the linking root domain that disappeared from the analysis and found everything to be in order. The site is a major local forum with a relatively high domain authority. All links are still there, and there hasn't been any change to the site as far as links are treated according to the owner. The only thing that has changed since the last site analysis is an event campaign ran with unpaid ads posted throughout the forum. The site being analyzed is a catering company that is cooperating with the forum owner and local bar to host a local celebratory event. Of course I'll wait for the next indexing to see if things change, but what could be going on here? This is more of an SEOmoz question, as we're talking over 10 point deduction in domain authority, although search results are still strong.
Reporting & Analytics | | kwoolf0 -
What's the best way to track moble traffic / sales from a subdomain in Google Analytics?
Hello, I've been trying to figure out the best way to track traffic and sales for a subdomain mobile site and would appreciate any feedback or guidance. I've set up an advanced segment but have found that I'm not able to source traffic since the segments get disabled when trying to view top content pages. I've also setup an additional sub-profile under the main domain profile in google analytics and have set up an advanced filter using the following guildelines http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html In the Profile Settings page, click the Add Filter link. Choose Add New Filter and provide the filter a name. Choose Custom Filter and select Advanced on the Filter type settings. Under Advanced settings: FieldA should be set to Hostname FieldB should be set to Request URI Set the values for both Field A and Field B to (.*), which is an expression that captures all characters. Set the Output To --> Constructor option to Request URI and provide $A1$B1 as the value for that choice. I'm unsure if I've set up the profile / filter correctly, the traffic stats are different than the segment. The mobile profile is also tracking all ecommerce transactions instead of just mobile. Here's the code I have in place. we're using the Traditional code Thanks, Jamie
Reporting & Analytics | | marketing_zoovy.com0