How do I track a primary domain and a subdomain as single site in Google Analytics?
-
Our website consists of a primary domain (marketing focused) and subdomain (ecommerce platform). The two sites look and function as one site even though they are using different technology.
I would like to track the primary domain (example.com) and the subdomain (shop.example.com) as a single site in Google Analytics. The subdomain will be set up with GA ecommerce tracking as well.
Can someone provide an example of the GA snippet that each would need?
-
I haven't read that article before, but from quick glance it does sound right and make sense, so, most likely yes, you'll have to do that. However, it's not required, it's just for ease of reading your google analytics data.
-
What about ignoring self-referrals, prepend hostname to request URIs, and Ga.js / doubleclick.js only: set domain name?
Do I need to do any of that?
https://mza.bundledseo.com/blog/cross-domain-subdomain-tracking-in-google-analytics
-
Hi. In new Universal Google Analytics you don't have to do anything special. Just use the same GA code on both domain and subdomain.
https://productforums.google.com/forum/#!topic/analytics/H3Q55xn91Pk
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 do you adjust the Google Analytics date range?
Hello! Every time I log into Google Analytics (via desktop), the date range is set to October 1, 2013 to October 28, 2013. I've looked throughout the GA settings to find a place where I change this default setting to anything else ("Last week?") but have not be able to find where that setting is. Can you help? Losing my mind,
Reporting & Analytics | | SmileMoreSEO
Erik0 -
Does Google encryption of keyword data impact SEO revenue reporting in Google analytics?
Hi there, I know Google has been encrypting SEO keyword data which they rolled out in September 2013. My question is - will this impact SEO revenue figures reported in Google analytics? I have been monitoring SEO revenue figures for a client and they are significantly down even though rankings have not lowered. Is this because of Google's encryption? Could there be another reason? Many thanks!
Reporting & Analytics | | CayenneRed890 -
Google Direct Traffic Reporting for Mobile on Analytics
We noticed a significant drop in our direct traffic in Google Analytics for mobile on July 30th but all our other traffic remains the same. What is the possible cause of this?
Reporting & Analytics | | COEDMediaGroup0 -
Google Analytics - Keywords (not set) or ( not provided) WHY???
In Analytics, most of my visitors are landing on my home page, but when trying to see wich keywords they use, most of them are: (not set) or ( not provided) See screencast: http://screencast.com/t/AKwPW76qLVsN Can you tell why? What is going on? Is there a way to solve this? Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
Excluding referral traffic from a specific page Google analytics
Hi, I am trying to exclude from referrals from a particular page i.e. www.domain.com/nothispage within Google analytics, I have tried a couple variations within the advanced filter (Regex etc) section without much luck, could anyone assist ? Updated-trying to do this using a filter for the entire profile. Thanks Marc
Reporting & Analytics | | NRMA0 -
Best practices to track blog.mydomain.com in Google Analytics?
What is the best practice in Google Analytics? Tracking blog.mydomain.com + mydomain.com under the same profile? Or creating separate profiles for each blog.mydomain.com and mydomain.com? Thanks!
Reporting & Analytics | | gerardoH0 -
Why is Webmaster Tools not Linking Correctly Google Analytics?
I have a global site with .com as the US site and then /country for all other markets i.e. .com/uk .com/de etc. Each site has it's own WMT profile. Each site has it's own GA profile. Since Google added Search Engine Optimization to the GA interface, I can't track these sites separately under this new feature. It seems to me that it can only be associated with a single WMT profile at a time or rather that WMT can only be associated with a single GA profile at a time. The numbers for the UK and US site are identical, but when I try and link the UK WMT account with GA it removes it from the US profile and vice versa.
Reporting & Analytics | | Red_Mud_Rookie0 -
Why isn´t my google analytics registering goals?
Hi everyone! I know this is is not the standard SEO question, but I hope you can help me with your knowledge. I set some goals in GA for the thankyou page that appears when a client requests more information on a property for sale. Problem is I have been testing them and the goals don´t get registered. I don´t know what am I doing wrong and I would really appreciate if you could help me through some light on this. I have attached an image of the option for the goal in GA. Can anybody help me? Paroa.png
Reporting & Analytics | | inmonova0