Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bill6591

    (@bill6591)

    Of course, you were right, though the issue wasn’t quite what you thought. I was looking at the GTmetrix test, not the page source, but I was retesting too soon, and so the page had loading issues. Once I cleared all the caches, gave them time to rebuild, and then ran the test, the page loaded correctly, and local-ga.js appeared as expected.

    Thanks for all the very quick suggestions.

    Thread Starter bill6591

    (@bill6591)

    Thanks for the prompt reply.

    I don’t have any Google analytics plugins installed. I assume those would be the only likely culprits. I checked all the others and didn’t find any functions connected to Google analytics.

    The theme does have a box into which the Google analytics script gets pasted. I tried deleting the script from there, and analytics.js does indeed disappear from the GTmetrics report–but so does local-ga.js. I assume that means I’m getting no analytics tracking at all. There are some other weird effects that I think are connected to caching or CDN usage that might straighten out if I purged all the caches.

    I assume the theme is in fact invoking analytics.js, but preventing it from doing that seems to cause more problems than it solves. I’m not going to be changing Themes at the moment, so if that’s really the case, I’ll just live with analytics issue. If I’m missing something, please let me know.

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