• Resolved feralreason

    (@feralreason)


    I noticed that after installing this plugin, my page views seemed to almost double whereas my bounce rate fell from the 60s into somewhere between 4% and 12%. When I do a control U and look at the source I see two GA tracking code scripts – one is the one I originally put in my header.php but the second has been inserted (apparently) when <php> wp_head(); </php> was called. I’m guessing this second code was inserted by the plugin. Does that make sense? Could that be the cause of the variation in page views and bounce rate?

    https://ww.wp.xz.cn/plugins/google-analytics-dashboard-for-wp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • It definitely is. You must either disable the plugin’s tracking component (not recommended) or get rid of the second code.

    Thread Starter feralreason

    (@feralreason)

    Thanks – that’s what I did (remove the 2nd code.) Unfortunately I haven’t seen any easy way to detect if a page already has a tracking code (one you could use in the plugin to prevent this.)

    Anyway – all is apparently working now 🙂

    I also saw my pageviews double when I installed this plugin a few days ago. So how do you remove the second code? I’m not techy at all so the only solution I know of is to delete the plugin (which I really like).

    Thread Starter feralreason

    (@feralreason)

    Depends on how you originally installed your first Google tracking id. I originally copied and pasted the code with the Google Analytics tracking ID into the header.php file of my child theme. However (if you’re not a techie), you may have installed your tracking id using a plugin such as Insert Headers and Footers. (There are several plugins to do this.) Since you cannot (easily) remove the tracking ID installed by Google Analytics Dashboard for WP, you will want to remove the one you installed. So (if you didn’t insert your tracking code directly into the header) look for the plugin you used and find out how to remove the tracking code from that.

    • This reply was modified 9 years, 7 months ago by feralreason. Reason: improve understandability
    • This reply was modified 9 years, 7 months ago by feralreason.

    Okay – thank you. I can’t find a plugin that I would’ve used. I’m just at a loss here.

    Thread Starter feralreason

    (@feralreason)

    Then it may be built into your theme (which I think is based on Genesis). Look around in “Settings” in your admin menu.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Duplicate Tracking Code Affecting Page views & Bounce Rate?’ is closed to new replies.