Support » Plugin: Google Tag Manager for WordPress » Google Optimize diagnostics errors – started recently

  • Hi All,

    I’m running several Google Optimize experiments on my domain (https://james-cormack.com) and have been running different experiments over the last 3 months or so.

    This used to work fine – whenever I ran diagnostics tests in Google Optimize, the tests passed successfully.

    But within the last few days, whenever I run diagnostics in Google Optimize I get these errors:
    – Error: Optimize plugin not found
    – Error: Analytics tracking code not found
    – Warning: The anti-flicker snippet timed out

    I haven’t changed anything on my site or in Google Tag Manager, so I’ve got no idea why this has started happening.

    Could this be a new bug in the Google Tag Manager for WordPress plugin? Or maybe a new bug in Google Optimize? Has anyone got any guidance please?

    Thank you for your help,
    James

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi James,

    I checked your site and I do not see any issues from what I can see.
    What you could test: there is an option on the Advanced tab in GTM4WP which allows you to move the GTM container code as high as possible in the source code. Perhaps this could help to get better results.

    Hi Thomas,

    Thanks for your reply – sorry I didn’t see the email notifying me of your response sooner.

    After my previous message I started my optimize experiments anyway, even though the diagnostics were failing.

    My results appeared to come in like always – it seems to me that they are still working. Strictly speaking I’m not sure because I can’t see what my site visitors are seeing, but the results appear ‘normal’ when I view the report in Google Optimize.

    Just now I tried to follow your advice here. I went into the advanced section in the GTM4WP settings, ticked the box “Load GTM container as early as possible”, and hit save. I cleared saved files in my browser and re-ran the diagnostics a few times – but the diagnostics give the same errors as before,
    – Error: Optimize plugin not found
    – Error: Analytics tracking code not found
    – Warning: The anti-flicker snippet timed out

    It’s strange because this only started a few weeks ago – before then the diagnostics always passed. So I’m wondering if Google changed something about how their diagnostics work.

    Do you think if I changed GTM4WP’s “Container code placement” setting it might help?

    Cheers,
    James

    • This reply was modified 4 months, 1 week ago by .
    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi James,

    I really do not know what could be the reason since as far as I can see all the necessary codes are there. Perhaps you should try using the Optimize tag inside your GTM container instead of the integration of GTM4WP. Perhaps it will be validated.

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