Expert Google Analytics: store with multiple languages and multiple sub-domians
-
I hope there's some hardcore Analytics shark out there, with a quick reply
I am setting up a store with multiple languages for a client and need to be able to track multiple sub-domains as a multiple languages in analytics.
Example:
dk.somedomain.com -> Danish language
www.somedomain.com -> English language
no.somedomain.com -> Norweigen language
.. and so onNow what the client would like is to have one single entity with multiple profiles in analytics, like this:
somedomain.com
-> www.somedomain.com
-> dk.somedomain.com
-> no.somedomain.com
ex..So if the client want's to see stats for the English language then he just vlivks the www profile and in case of danish he clicks the dk profile and so on.
problem here is I can't find an analytics help that addresses this specific issue. I have found this but that doesn't seem to cover it:.Any pointers would be greatly appreciated.
-
René,
Here's the way I would approach it.
Install one GA snippet on the site that starts like this:
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-X']);
_gaq.push(['_setDomainName', 'somedomain.com']);
_gaq.push(['_trackPageview']);
Your main profile will capture ALL traffic. (optionally, you may want to pass the full hostname into the content reports. Otherwise "/" could mean "dk.somedomain.com/", "somedomain.com/", or any other root page. See Robbin Steif's answer here for instructions: https://groups.google.com/a/googleproductforums.com/forum/#!topic/analytics/H3lVpHp8FnU)
Then you'll want to create additional profiles for each subdomain. The easiest way is to filter by hostname. I've attached an image of what this should look like. The forward slashes before the periods are important since this is a regular expression.
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
-
How to configure multilingual site in google analytic? Currently showing in Referral Traffic why?
Hello All, Currently my Multilingual site is showing in referral traffic is it because I have not added hreflang tag on site? If yes and if I add the hreflang tag on all sites when where it will show in google analytic traffic from international sites? And what type of configuration required in analytic? Thanks!
Reporting & Analytics | | pragnesh96390 -
How to Configure Custom Alerts for Real Time Traffic etc from Google Analytic API?
Hi All, I know how to set alert from google analytic but i want alerts for real time visitors so i think it is possible via Google Analytic API, so can anyone share with me the process or relevant blog post? Regards, Mit
Reporting & Analytics | | mit0 -
Direct traffic spam on Google Analytics: how can you identify and filter it?
One of my smaller clients noticed a huge jump in direct traffic visits last month. The bounce rate was around 97% so I'm pretty certain that most of the traffic was illegitimate. I know how to filter out spam referrals and organic keywords in Google Analytics. However I'm not sure what to do about direct traffic spam. Are there recommendations for filtering this out? Can I identify spam IP addresses?
Reporting & Analytics | | RosemaryB0 -
Google Analytics Set-Up for site with both http & https pages
We have a client that migrated to https last September. The site uses canonicals pointing to the https version. The client IT team is reluctant to put 301 redirects from the non-secure to the secure and we are not sure why they object. We ran a screaming frog report and it is showing both URLs for the same page (http and https). The non-secure version has a canonical pointing to the secure version. For every secure page there is a non-secure version in ScreamingFrog so Google must be ignoring the canonical and still indexing the page however, when we run a site: we see that most URLs are the secure version. At that time we did not change the Google Analytics setup option to use: "https" instead of "http" BUT GA appears to be recording data correctly. Yesterday we set up a new profile and selected "https" but our question is: Does the GAnalytics http/https version make a difference if so, what difference is it?
Reporting & Analytics | | RosemaryB1 -
How to remove unwanted dynamic parameters from a URL in Google Analytics
Hi, Would really appreciate some help with this. I have been experimenting with RegEx to achieve this but as I’ve never used it before am currently failing miserably. We have conversion pages i need to set goals for that are formatted as below: https://www.domain.co.uk//Application_Form/(S(ewhbqp5cki0mppuzukunkqno))/enterCardDetails.aspx I need to remove the (s(xxx)) section from the URL as rather than one pages i currently have thousands of unique URL's. What’s catching me out is that as it’s not a URL parameter I can’t discount and as half way through can’t just do head matches etc to /entercarddetails Help would be much appreciated. Thanks.
Reporting & Analytics | | Sarbs0 -
Alternative to Google Analytics
Hi from sunny Manchester! I'm looking for recommendations for alternatives to GA. I'm specifically looking for something which won't sample data and will give us accurate numbers. Our site is pretty big, it receives 6 million+ visits and 50 million+ pageviews/year. Any recommendations would be greatly received together with any good/bad experiences you've had with them. Thanks in advance, Brendan.
Reporting & Analytics | | Confetti_Wedding0 -
Google Analytics All Kinds of Messed Up
Anyone have their google analytics go straight crazy on Thursday, 8/11/2011? 30% increase in visits No increase in visitors Huge drop in pageviews and time site Higher bounce rate More return users
Reporting & Analytics | | ChrisKolmar0 -
New Google Analytics Site Speed tool and excel
Hello, I was wondering if there is a good tool or method to pull the new Google Analytics Site Speed data into excel and use this document to track site speeds on a weekly basis for multiple clients? Any good articles or how-to's would be awesome!
Reporting & Analytics | | Hakkasan0