Support » Plugin: CAOS | Host Google Analytics Locally » How to replace with old GA script?

  • Resolved Keyvan Mahmoudi

    (@iamkeyvan72)


    Hi, first of all thank you for this nice plugin.

    I’m facing a problem and that is , i’ve already have had google analytics script in the footer of my site.
    now i don’t know whether i should remove it after activating your plugin or not!?

    i mean, i added my GA id to the plugin and it added a script in the footer, but there was my old script too.
    after that i removed my old script but the realtime users got half (dropped from 1400 to 600) and when i took back my old script, it raised high again.

    now my question is how should i replace your plugin with my old footer script?
    for your information, i use wp rocket for caching.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi,

    The reason why you were getting high traffic, is because you were getting duplicate hits. You should keep one tracking code (the one added by CAOS) otherwise your Google Analytics stats will be off.

    Keyvan Mahmoudi

    (@iamkeyvan72)

    so you mean i just have to comment out my old footer script, yes?
    i removed my old footer script now.
    may i ask you to check the site and tell me is it allright now or not?

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Checked it! You should have a few hits from The Netherlands now. 🙂 Everything looks good!

    Keyvan Mahmoudi

    (@iamkeyvan72)

    thank you dear Daan,
    not only for your plugin, but also i’m surprised with your quick response.

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    No problem!

    Hey, if you like, would you write a review?

    Keyvan Mahmoudi

    (@iamkeyvan72)

    Of course.
    thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.