Google Analytics to sub domains
-
Hi,
I have a site xyz.com and two separate sites on sub domains xyz.com/abc and xyz.com/def. What's the best way to go about with GA such that I can get all the data in the same place.
Should I use the GA code for xyz.com on sub domains as well? Or should I create separate profiles?
-
Firstly, I would like to correct a mistake I did when posting the questions. The two sites are hosted as subdirectories and not sub domains.
Here's how I solved the issue.:
1. Created two new views for each subdirectory abc and def. Added filters to get specific data for each site.
2. So, now I had three views - The Master View that contains all the data. ABC view - that contains data only for xyz.com/abc and DEF view that contains data only for xyz.com/def. Problem solved.
There were some good points, like defining internal traffic to GA, for subdomains. I believe, it wasn't necessary for subdirectory set up.
I realized that I could have created another view just to have data fro XYZ.com; filter data from both sub-directories.
-
HI Mayank,
You can do either depending on how you want to view the data. There was a good blog post a few months back on the way to approach various setups, check it out here. Separate account profiles is the easiest way to set it up, but of course the data will all be separated also. If you decide to use the same GA code for all the subdomains then you will likely want to do some tweaking to ignore self referrals and filter the data to show the subdomain string in your content reports. If you set up filters I would suggest to do it using views to not alter your original data - you can check out a rundown on how that can be setup here.
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
-
Android Webview & Safari (in-app) without any referrer information in Google Analytics
I've got a client that gets a considerable amount of traffic that: Enters on an interior page (that we are running properly tagged ads for on various platforms) Bounces Has a browser of either Android Webview or Safari (in-app) which I believe indicates the website is being viewed within a mobile app Has no referrer data: (direct) / (none) We've tested several scenarios (Facebook app, Gmail app, etc.) and ruled them out. Anyone know what this might be? Thanks in advance!!
Reporting & Analytics | | SarahLK0 -
How to Analysis which category gives me more revenue from google analytic?
Hello Experts, For Ecommerce site we do have navigation path like Main Category - Subcategory - Products. That means Men as Main Category and then subcategory Cloths, shoes, bags then product in each subcategory. After implementing enhance ecommerce https://developers.google.com/tag-manager/enhanced-ecommerce#product-clicks I am getting this report - "Product Category (Enhanced E-commerce)" in Product Performance section. Now my query is my all products are linked with sub category i.e. cloths, shoes, bags etc so in Product Category (Enhanced E-commerce) I can see Revenue, transaction related to Cloths, shoes, bags etc but how to judge performance of Main categories like Men, Women, Children etc? Because google works with this method i think - name': productObj.name, // Name or ID is required.
Reporting & Analytics | | dsouzac
'id': productObj.id,
'price': productObj.price,
'brand': productObj.brand,
'category': productObj.cat,
'variant': productObj.variant,
'position': productObj.position0 -
I have conflicting user flow and bounce rates Google Analytics
Has anyone come across this or know how to read this data. In my site content landing page report I have 141 sessions at 0.71% bounce rate = 1 session But then in user flow I have the same page with 123 sessions with a drop off of 117 sessions???
Reporting & Analytics | | Lucas_SOS0 -
Google Analytics is treating my blog like all the content is just on the home page.
Hello all, I installed Google Analytics on a main website and a blog (blog.travelexinsurance.com) While it appears to be tracking correctly (and when I test it in real time it shows that I'm visiting) but it is treating the entire blog as though it's one page. So I can't see data on blog post X. All I see is that X visitors came to my blog in aggregate. So I see blog.travelex.com has 999 visitors, but it doesn't show that /travel-luggage got 50 visits, while /insurace-tips got 75 and so forth. I assume I screwed up the tracking somehow, but can't figure out where I went wrong. Tracking on the main domain works just fine. It's specific to the blog.
Reporting & Analytics | | Patrick_G0 -
If I install google Analytics, that can affect my SEO.?
I purchased a site that has a lot of Backlinks and when I started to make changes like installing google analytics! i suspect the performance in search engine was getting worst because of that, so I removed.
Reporting & Analytics | | pparma
Now I'm trying MOZ and needs GA, should I install it again??
Maybe it analyces the backlinks and tells google, I don't know, is that possible?0 -
Google Analytics
How can you see the conversion rates for the referral traffic? For example I want to see if any of the facebook visits to my site resulted in a purchase.
Reporting & Analytics | | EcomLkwd0 -
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 -
Google's New Privacy Policy and Analytics
Does anybody know if Google's new privacy policy allows it to use data gathered by Analytics to be used as a ranking factor in the SERPs?
Reporting & Analytics | | Jolora0