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
-
Page Tracking using Custom URLs - is this viable?
Hi Moz community! I’ll try to make this question as easy to understand as possible, but please excuse me if it isn’t clear. Just joined a new team a few months ago and found out that on some of our most popular pages we use “custom URLs” to track page metrics within Google Analytics. NOTE: I say “custom URLs” because that is the best way for me to describe them. As an example: This page exists to our users: http://usnews.rankingsandreviews.com/cars-trucks/Ram_HD/2012/photos-interior/ But this is the URL we have coded on the page: cars-trucks/used-cars/reviews/2012-Ram-HD/photos-interior/ (within the custom variance script labeled as “var l_tracker=” ) It is this custom URL that we use within GA to look up metrics about this page. This is just one example of many across our site setup to do the same thing Here is a second example: Available page to user: http://usnews.rankingsandreviews.com/cars-trucks/Cadillac_ATS/2015/ Custom “var l_tracker=” /cars-trucks/2015-Cadillac-ATS/overview/ NOTE: There is a small amount of fear that the above method was implemented years ago as a work-around to a poorly structured URL architecture. Not validated, but that is a question that arose. Main Questions: Is the above implementation a normal and often used method to track pages in GA? (coming from an Omniture company before – this would not be how we handled page level tracking) Team members at my current company are divided on this method. Some believe this is not a proper implementation and are concerned that trying to hide these from Google will raise red flags (i.e. fake URLs in general = bad) I cannot find any reference to this method anywhere on the InterWebs - If method is not normal: Any recommendations on a solution to address this? Potential Problems? GA is currently cataloguing these tracking URLs in the Crawl Error report. Any concerns about this? The team wants to hide the URLs in the Robots.txt file, but some team members are concerned this may raise a red flag with Google and hurt us more than help us. Thank you in advance for any insight and/or advice. Chris
Reporting & Analytics | | usnseomoz0 -
Analytics Tracking in China
I am setting up a Chinese domain and I was wondering if anyone has experience with using Google Analytics for tracking in the country and if it really works or if Baidu is the better solution for the website. The website will be hosted in the US so I don't know if that makes any difference with getting around "The Great Firewall". I would prefer to us GA if possible because I am extremely familiar with the platform but I am more concerned with getting accurate tracking data for the site. Thank you in advance and any help would be greatly appreciated. Brooke
Reporting & Analytics | | Ryan_Henry0 -
What Parameters and Rules i set to track all types of click?
Hello Expert, If i want to track all types of clicks either link, button, drop down etc for my website then what parameters i add in "Event Tracking parameters" and what will be firing rules. I already have universal analytic and google tag manager. Track Type as even i selected in google tag manager now please tell me 1) what i add in category, Action, label? 2) what should be the rule. I will be really thankful to you if you give cut to cut answer instead of sharing post.
Reporting & Analytics | | bkmitesh0 -
Goal Totals in Google Analytics
How do I get a cumulative tally of all the goals reached in google analytics? I've been using the percentages currently, but I was wondering if there was an easier way. Thanks
Reporting & Analytics | | OOMDODigital0 -
Strange Behaviour - Varying rankings across browsers and devices
Hello, I noticed something quite strange over the last week with one of my keywords. I'll explain the lead up to this so it makes more sense. I started SEO work for a client about 3 months ago. One of the keywords I'm trying to increase their ranking for is "auto body calgary". I made a specific landing page for this keyword so it could be better targeted. After I made this landing page I saw their root domain (not the landing page) increase about 10 rankings to number 9 in 2 months. It hung at number 9 for about a month, and then the last month it has decreased to rank 15. For interest sake I searched "auto body calgary" on multiple computers and browsers. On one of the computers I used Safari and my landing page showed up in the number 2 position. On my mobile phone and personal laptop I used Safari and it showed to root domain ranked at 15. I used Google to search every time and wasn't logged in to my Google account on either of the searches. The only thing I've done in the last month is updated some of their directory submissions so they are more consistent. Out of this I have two questions: Why would different browsers show considerably different rankings and pages for a keyword? Since my landing page is more targeted to "auto body calgary" is Google trying to show that page instead of the root domain? (my root domain has considerably more authority than this landing page) Thanks to anyone who can offer insight!
Reporting & Analytics | | reidsteven750 -
GA Subdomain Setup
Hi Mozzers, Can someone show me how to add a subdomain profile (sub.example.com) under the master profile (www.example.com) on Google Analytics. I am not sure on how to set it up. Thanks
Reporting & Analytics | | Ideas-Money-Art0 -
Cover my tracks / two websites on the same Analytics
Hi, I've got 2 websites and I like one of them to make some links to the other one. These two sites are on the same Google Analytics account. They have been set up 3 month ago and they have some articles on them. I've heard that Google can see that those websites are related in my Analytics and use this information to give less power to the link I could make between them. What do think about it and what do you recommend me ? Shoud I closed the Analytics account ? Or down one of the website and rebuilt it whith a different domain / host / analytics ? The thing is if I delete one of the website i'll be force to republish the articles, because there are links on it, and they're part of a deal I've already made. Thank you
Reporting & Analytics | | Spleen0 -
How to combine several subdomain in google Analytics
Good afternoon. I have a question.
Reporting & Analytics | | meteorr
I have a main site site.com + many subdomains example1.site.com, example2.site.com, example3.site.com, example4.site.com .... I need to combine google Analytics reports into one. Information from: example2.site.com, example3.site.com
showed in example1.site.com Yk64j0