• Hello,

    I’m using clearfy plugin to cache the analytics.js but it seems the traking code is still remaining everywhere in the site.

    How I can host it locally the the script and still use it in GADWP please ?

    Or maybe there is a solution in the plugin itself ?

    Crael.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello There,

    Why do you want to host it locally?

    It’s loaded from Google’s CDN which is on so many websites that this script is already most certainly in every user’s browser cache already when they visit your site.

    Due to the wide adoption of GA, most GA users never actually load analytics.js on your site at all, since almost anyone coming to your site will have it in their browser cache from another website.

    While a lot of performance sites such as GTMetrix claim this should be adjusted any change would increase load time.

    -Jay

    Thread Starter crael

    (@crael)

    So it’s resolved ?

    I understand what you said and agree, but you haven’t really answered the question, sorry.
    So to me, it’s not resolved… I don’t have a choice to host it or not, and make so test with my website.

    So, is it possible to host the script locally and still use it in GADWP please ?

    Crael

    Thread Starter crael

    (@crael)

    Hello,

    The guys from webcraftic asked me if you have some kind of php code that can turn off the rendering of Google’s analytics code on all pages of the site please ?

    Regards,

    Crael.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘analytics.js cache’ is closed to new replies.