Title: Google Optimize diagnostics errors &#8211; started recently
Last modified: October 6, 2019

---

# Google Optimize diagnostics errors – started recently

 *  [jamescormack](https://wordpress.org/support/users/jamescormack/)
 * (@jamescormack)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/google-optimize-diagnostics-errors-started-recently/)
 * Hi All,
 * I’m running several Google Optimize experiments on my domain ([https://james-cormack.com](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-optimize-diagnostics-errors-started-recently%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/google-optimize-diagnostics-errors-started-recently/#post-12008627)
 * 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.
 *  Thread Starter [jamescormack](https://wordpress.org/support/users/jamescormack/)
 * (@jamescormack)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/google-optimize-diagnostics-errors-started-recently/#post-12043214)
 * 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 6 years, 7 months ago by [jamescormack](https://wordpress.org/support/users/jamescormack/).
 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/google-optimize-diagnostics-errors-started-recently/#post-12048583)
 * 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)

The topic ‘Google Optimize diagnostics errors – started recently’ is closed to new
replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/google-optimize-diagnostics-errors-started-recently/#post-12048583)
 * Status: not resolved