Goals tracking across subdomains
-
Hi all,
I'm having some trouble with regards to setting up goals tracking in Analytics across subdomains and was hoping that someone could help me out.
Okay I work for an insurance company and we use a Quote & Buy portal for our insurance policies. Our website - www.example.com sends the traffic to quotes.example.com. Both of these sites have the same Google Analytics tracking ID. The quotes.example.com has no duplicate URLs which appear one our website, therefore I only set up the account to only include the hostname for each.
Does this sound correct?
The goals issue is if I now set up a goal in the quotes.example.com account, someone comes to www.example.com via Google and then clicks through to our journey and completes, will this count as a referral from www.example.com or as a goal from Organic?
I'm totally stuck so any help would be appreciated.
Thanks
Ben
-
If you are seeing a break then something is causing it between your sub-domains, is there an auto-loading interstitial page or redirect of some kind being used?
I recommend Tag Manager as it makes defining click based events easier and the Tag Assistant tool for Google Chrome can be very useful in figuring out what is causing weird problems with your Google Analytics and other on site tools.
-
Hi,
Thanks for the response!
I set up the GA account roughly over a year ago, however, both subdomains have the same tracking ID/code, so shouldn't be any issue there.
Also as they aren't different domains, but subdomains, why would I need cross domain tracking - or am I being stupid?
How can Google Tag Manager help?
Thanks
Ben
-
Ben,
I assume you set up your GA account awhile ago and are still using the old code, you have two options to fix this. The first is you can keep your old code but change it to also have cross domain tracking, the other, and better option is that you upgrade your tracking to use the most current version as you will need to do this eventually.
I also recommend looking into Google Tag Manager as it allows for easy advanced tracking implementations.
Cross domain guide for analytics.js: https://developers.google.com/analytics/devguides/collection/analyticsjs/cross-domain
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
-
Two Tracking for Banners - Internal Promotion & Event Tracking -Any Impact on Analytic Figure or Bounce Rate?
Hi All, I have implemented Internal Promotion - https://developers.google.com/tag-manager/enhanced-ecommerce#promo-clicks for my ecommerce site on homepage banners. Along with this I did event tracking for Banner click. So any negative impact of bounce rate or other reports? Thanks
Reporting & Analytics | | Arnold30 -
GA Event: to use this feature visit: EVENT-TRACKING.COM
Hi guys, Two days ago our Google Analytics Event tracker began to show this Event/Label, etc. I cannot find its source. Anybody knows what is this about? Thanks for your answers. Ana
Reporting & Analytics | | anagentile1 -
Is It Possible to have Cross Domain Tracking on Two Different Accounts?
Good afternoon to all, I have this kind of dilemma regarding setting up tracking code on two different accounts, namely bioglass.com with GA Code UA-12345678-1 where all the product information has been listed and shopbioglass.com with GA Code UA-87654321-1 where the prices are located and transaction takes place. Both of them are connected since if you click the buy button on bioglass.com for a specific product, it will automatically redirect to shopbioglass.com where the prices and transactions comes into place. Dilemma: I want to check how many conversion took place from bioglass.com to shopbioglass.com. I know they have different GA Code but is it possible for me to have a cross domain tracking for this?? What are the possible remedies if not? Thanks to all 🙂
Reporting & Analytics | | TWSOM0 -
Using Regex for Goals in Google Analytics
I’ve got a website with 20 different forms; and I’d like to track all 20 form completions with one Goal in Google Analytics. The completion-page URLs follow the pattern below (the website uses Drupal CMS) Form One: www.acme.com/node/2990/done?sid=651 Form Two: www.acme.com /node/2991/done?sid=785 Form Three: www.acme.com /node/2992/done?sid=1021 Form Four: www.acme.com /node/2993/done?sid=459 I believe that there is a way I can use regex so Google Analytics will track if any of these completion URLs appears. Looking for guidance how to format the regex statement.
Reporting & Analytics | | TopFloor0 -
Google Analytics & AdWords Conversion Tracking
I have Google Analytics implemented on my site and have goals/funnels set up to track the conversion process. I have just started an AdWords campaign but can't see/track conversions from it. Do I need to implement both Google Analytics AND AdWords scripits on the page?
Reporting & Analytics | | mj7750 -
Where do I find Google Analytics link tracking for outbound links?
We implemented this script in source, where would I find the outbound link tracking; in Events?
Reporting & Analytics | | KnutDSvendsen0 -
If I change the URL of a page, but the old page canonicalizes to the new, do I need to change my Analytics goals to get data?
I changed the URLs of some pages recently (because the same thing that affects the internal anchor text also affects the URL - grr...) but considered it not a big deal because even if I looked at the source code of the old URL, the canonical tag was now pointing to the new one. The question is - if I had URL destination goals set up for those URLs in Google Anlaytics, do I now have to change them? Or does Google somehow know that anyone getting to the new URL is the equivalent of someone getting to the old URL because of the canonical tag that exists on the old URL source code? I still do see goal conversions for some of the old URLs even since I changed them - but it could be that people are still somehow finding the old URL somewhere - or that Google only reindexed it a week or so after I made the change. Any light to shed? Thanks in advance, Aviva B
Reporting & Analytics | | debi_zyx0 -
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() {. . . .
Reporting & Analytics | | jenny05
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.1