double analytics.js and “non-standard implementation”
-
Hi, I’m having a problem where Tag Assistant reports a “non-standard implementation” and analytics.js appears twice within <head> when I inspect the DOM using Developer Tools.
I’m running a test site with no plugins except Site Kit, and the TwentyTwenty stock WordPress theme, in order to rule out code problems and plugin problems.
I’ve set up Site Kit so that GTM is the only connected service, apart from Search Console. I can’t seem to avoid the Search Console setup when I configure the plugin.
In my test GTM account, I only have a few custom items:
1. A Google Analytics variable.
2. A Google Optimize tag with no trigger.
3. A Google Analytics tag that uses the standard Page View trigger, with a dependency that tells it to fire Optimize first.I’m using test accounts for GTM, GA, and Optimize, in order to rule out issues with my production Google accounts.
And despite this very stock, very limited test setup, I still see a double analytics.js script within the head, and Tag Assistant reports a “non-standard implementation”.
If I run a test Optimize experiment, then on the experiment page, Tag Assistant reports that GA is recording double page views.
Thank you for any help that you can provide!
The page I need help with: [log in to see the link]
- The topic ‘double analytics.js and “non-standard implementation”’ is closed to new replies.