Mobile app version of vmapp.org
Login or Join
Angie530

: How does duplicate Google Analytics tracking code affect a site? I have a site where I can see that the tracking code has been added twice (once in the Drupal GA module, and once added manually

@Angie530

Posted in: #GoogleAnalytics

I have a site where I can see that the tracking code has been added twice (once in the Drupal GA module, and once added manually in the template file).

Both scripts are pointing to the exact same account.

What are the consequences of this? I am looking into the issue since the bounce rate seems to be extremely low over the last few months compared to usual. Would this be a reason for that, or is something else causing that issue?

Would double tacking code produce double the hits in Google Analytics?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie530

3 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

The double analytics code will affect bounce-rate and page-views, but it WILL NOT affect sessions (visits) as Irene wrote. The pages / session will definitely change since the pages are counted twice.
The reason that sessions stay the same is that the user is still the same user, just with two page-views.

I am writing this after removing duplicate codes from a site and monitoring the changes.

10% popularity Vote Up Vote Down


 

@Harper822

It does affect your pageviews duplicating em, but does not affect your sessions or users.

10% popularity Vote Up Vote Down


 

@Sue5673885

The consequences of having two Google Analytics scripts, especially if they are pointing to the same UA-ID, is that you'll end up double counting pageviews, visits, etc. Do you have the option of removing one? If so, do that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme