• Hi,

    I run a self-hosted wordpress site at http://imstillhungry.net . Currently, I’m using this plugin for my GA requirements. It’s got a lot of features and seems to be reporting the right stats.

    At the same time however, I also have my GA tracking ID (the same one) applied on Cloudflare’s GA app (w/social tracking enabled). I was wondering if there is actually any need for this given the usage of this plugin. And indeed, if it’s actually a bad idea because it would record double traffic (though I doubt this part, since it’s the same tracking code?)

    The reason I’m hesitant to disable the Cloudflare GA app for now is because it can track error pages, and I’m not 100% sure whether this plugin does that.

    This is the info page Cloudflare has on its GA implementation:
    https://www.cloudflare.com/apps/google_analytics?

    Regards,
    Michael

Viewing 2 replies - 1 through 2 (of 2 total)
  • KnowledgePower

    (@knowledgepowerltd)

    Hi Michael,

    I arrived here wondering about the same thing.

    Here are my GUESSES

    1. Having the GA tracking twice on pages (once from Yoast, once from Cloudflare) probably is not good practice but probably doesn’t matter and won’t get double counted.

    Related Google help page:
    Multiple tracking codes on web pages
    https://support.google.com/analytics/answer/1032400

    2. … But it does sound like the old pre-universal-analytics code could double count.
    see “Using multiple instances of the Classic Google Analytics tracking snippets” on this page https://support.google.com/analytics/answer/1009683

    3. The advantage of the Cloudflare route seems to be that you can track everything in one fell swoop even if it is not well implemented yet on a site, or the site has some custom pages (e.g. non WordPress in this example)

    4. The disadvantage aside from the not-best-practice double code inclusion would seem to be that your tracking working is then dependent on Cloudflare, which in a way is not “correct” as you should be able to switch off (bypass or abandon) such a CDN at will without it affecting what you are materially doing with the site.

    Based on this 4th reflection, I am switching it OFF in Cloudflare and manually going to ensure (from sitemap) that there aren’t pages which Yoast/WP cannot reach.

    I don’t think reasoning like point 4 above applies any more. No more than running your own email server or trying to keep the script kiddies out by looking at log files.

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

The topic ‘This plugin vs Cloudflare's GA App’ is closed to new replies.