Multipul Analytics codes usage
-
I need to launch 13 local websites and need to have two analytics codes on each site, one is unique for each site and the other is the same across all sites. any advice on how this is best done?
-
For one of the sites I work on, I successfully track across multiple subdomains, and the site as a whole using one tracking code. You can create multiple profiles, and then create a filter on each profile to include only URLs of a certain pattern.
-
Hi Stephen, it depends on how you need to use it.
With my situation you can have two sets and its ok as long as you have them in the correct positions as described above
-
Not sure if I understand - is the recommendation to have two sets of GA code on the same page? If so, that is expressly discouraged by Google
-
Thomas has answered this question. Create one account in Google Analytics for local.imsm.com. Copy and paste that code right before the tag so that it appears on every page.
Then create a profile for each subdirectory (/denver, /bristol, etc.) Copy and paste that code right before the tag in the header of that particular site. Then you should collect both sets of data just fine.
-
Hi Daniel
Yes we are using Google Analytics, the 13 sites are all on the same domain using wordpress mu. i.e local.imsm.com/london/ local.imsm.com/denver/ local.imsm.com/bristol/
the sites are supported by google adwords and we need to be able to report on each site and as a whole hence the two tracking codes
-
You can add as many analytic codes as you like. Google allows you to add unique codes for sets as well. So you could tell google they are all the same site and then add unique codes for each site under the same account.
Side note, if the page does not fully load you may have varying numbers based on where you place the analytic code. So potentially, the top code will show more results then the bottom code. Not likely, but just a FYI.
-
Are you using Google Analytics? Are these 13 sites all sub domains of the same domain or 13 unique domains?
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
-
WMT data vs. Analytics
Hi Each month I export my data from WMT and go through analytics. I also export our non brand queries from analytics and not WMT - I haven't had an issue before, but this month the impression data is quite different. In the hundreds of thousands different for keywords, everything seems to have taken a big jump and it seems strange. However, not everything is different, I've spot checked some and its; consistent in both, I'm not sure what's going on? One example would be: <colgroup><col width="281"> <col width="72"></colgroup>
Reporting & Analytics | | BeckyKey
| industrial shelving | 1016 |
| industrial racking | 999 | These appear as impressions from Query data in analytics, but they appear nowhere in my WMT query data. Analytics query data shows: | industrial equipment | 670 | WMT Data: | industrial equipment | 143 | Anyone have any idea? Perhaps some kind of tracking issue? Also I've triple checked dates etc...0 -
Track subdomain in analytics
Hi, Our jobs section has recently been moved on to a subdomain https://jobs.ourwebsite.co.uk/home.html which is handled by a third party. Our analytics for the jobs section was lost as no code was added to the pages. Previously it was part of the main site. How do I track it as a subdomain so that it appears to be part of our main site? We have the old GA and universal GA code on the site Thanks
Reporting & Analytics | | Houses0 -
Pinterest\Instagram analytics available?
Is there a way to add Instagram and Pinterest analytics to Moz? Is this already available and I am just missing it? VERY interested in this... thank you!
Reporting & Analytics | | Isaac55891 -
ECommerce Tracking Code Installation
Hi All, Kindly explain how to implement eCommerce tracking code on the website.I am aware how to enable and generate eCommerce tracking code in Google Analytics but have confusion from website end.Also, where i read the steps, everywhere i read the below code: <script< span="">type="text/javascript"> var _gaq = _gaq ||[]; _gaq.push(['_setAccount','UA-XXXXX-X']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', '1234', // transaction ID - required 'Acme Clothing', // affiliation or store name '11.99', // total - required '1.29', // tax '5', // shipping 'San Jose', // city 'California', // state or province 'USA' // country ]); // add item might be called for every item in the shopping cart // where your ecommerce engine loops through each item in the cart and // prints out _addItem for each _gaq.push(['_addItem', '1234', // transaction ID - required 'DD44', // SKU/code - required 'T-Shirt', // product name 'Green Medium', // category or variation '11.99', // unit price - required '1' // quantity - required ]); _gaq.push(['_trackTrans']);//submits transaction to the Analytics servers (function(){ var ga = document.createElement('script'); ga.type ='text/javascript'; ga.async =true; ga.src =('https:'== document.location.protocol ?'https://ssl':'http://www')+'.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); ----------------------------------------</script<> In the above code specific transaction id, SKU/code are mentioned. What will be the modifications in the above code if i have to track all products present on my eCommerce website??
Reporting & Analytics | | RuchiPardal1 -
Showing significant visit in google analytics
Hello Everyone, I was checking GA account of my site and I have found there are few keywords have significant number of visits in GA. These keywords not ranking even in hundred(google SERPs).I am not understanding from where these visitors coming .Please help me out. I am attaching screenshot of those keyword.Last but not least when i check source of these keywords source are google. Thanks aScZ8WT.png
Reporting & Analytics | | Alick3000 -
Viewing image search data in Analytics?
How do you view image search data in Google analytics? Do you need to apply tracking or can you drill down into the default data? Thanks.
Reporting & Analytics | | Bondara0 -
Multi-Site Analytics Dashboards?
Anyone have recommendations on a good multi-site analytics dashboard? I am managing roughly 20 sites right now, and am looking for a dashboard that provides basic info like # of visitors, search traffic, etc. for a couple dozen sites at a glance.
Reporting & Analytics | | TakeshiYoung0 -
Different metrics in analytics and adwords
Hi. My adwords campaigns and analaytics reports shows me slightly different results. Even for paused or disapproved ads in adwords, the analytics shows me some clicks?! I have automatic tracking enabled. Is it some kind of fault in configuration or its normal? Thank you for answer/link with answer.
Reporting & Analytics | | asystematic0