Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
Try to remove one Google Analytics script and see what is coming. – Zistoloen Oct 16 '13 at 11:48
up vote 6 down vote accepted

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.

share|improve this answer
2  
And of course that means the bounce rate is lower - since people have two pageviews with visiting one page bouncing is next to impossible. – Eike Pierstorff Oct 17 '13 at 8:37

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.