My company’s Google Analytics code is being duplicated on my homepage by the Enfold theme.
I asked Google to review my website because I saw widely discordant results in bounce rate and time spent by clients at my website. After Google Analytics support reviewed my site they found the problem, the Analytics code is duplicated over and over on my website.
The problem is that I have only entered it once, using the Enfold theme in the specified Analytics field.
How can I go about removing the duplicate codes so that my analytics results are accurate?
Here’s the message I received from Google support after their analysis…
I see that multiple analytics codes have been placed on the homepage of this site. Having multiple codes often results in the following metrics being incorrect:
Bounce rate will be close to zero
Time on site will be lower than it should
Pageviews will be inflated
What can be done to fix this?
In order to ensure the above mentioned metrics are reported correctly, I suggest you remove multiple analytics codes from the webpage and include only one code which should be placed right before the closing head tag i.e. </head> tag.
Thank you.
Hi,
Can you post the link to your website please?
Regards,
Josue
Hi Bill!
The other GA code is coming from this plugin you have on your install:
https://wordpress.org/plugins/google-analytics-dashboard-for-wp/
Cheers!
Josue
Thank you Josue. I stand corrected! It was not Enfold at all but the added plug-in.
I will know better next time and check the plug-in functions first.