Mobile app version of vmapp.org
Login or Join
Cooney921

: Two GA codes on one site and the data doesn't match Our company puts a GA tracking code on each of our websites (we build websites for companies and then provide GA tracking for the company).

@Cooney921

Posted in: #Google #GoogleAnalytics #Seo

Our company puts a GA tracking code on each of our websites (we build websites for companies and then provide GA tracking for the company). One of our clients also has a GA code they want on their site. So we have a site that has two GA codes on it, and when comparing the Google Analytics data for sessions, users, etc. the numbers on each account do not match.

For example, for Jan 1 - Feb 10 '16 their tracking code shows 14,905 sessions, while our tracking code shows 13,605 sessions for the same exact range.

Any idea why the data wouldn't match for the same site? Is sessions tracked the same way for every GA code?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney921

2 Comments

Sorted by latest first Latest Oldest Best

 

@Steve110

There are quite a few reasons why two trackers would differ, the least of which being tracking via JavaScript is never a perfect science.

Some other instances are:


some users closed the browser before the second GA tracker was
loaded
some users have blocked analytics.js from all sites (there are
browser plugins that do this)


At the end of the day, getting something like this to tally is a fool's errand.

10% popularity Vote Up Vote Down


 

@Hamm4606531

When you have multiple GA trackers on the page, you need to make sure that you assign a unique name to each tracker, so that whatever hits you send will be sent to the correct GA property.

For example, if you send in an event hit and you haven't named your trackers, that event hit could potentially be sent to both properties because they have the same name (default name is usually t0). This then leads to skewed results.

You can refer to this documentation as a starting point for how to work with multiple trackers: support.google.com/analytics/answer/1032400?hl=en
Edit: If your trackers are of different technology (ie. classic GA and UA), then you may not necessarily get exactly the same data simply because of how different the two trackers collect and process data. Slight differences in data should be expected.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme