Title: Google Optimize
Last modified: January 22, 2020

---

# Google Optimize

 *  [moeeeee1](https://wordpress.org/support/users/moeeeee1/)
 * (@moeeeee1)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/google-optimize-5/)
 * Hello,
 * I am trying to setup Google Optimize with your plugin.
    It created a redirect
   test and it works, but I am still getting the following error when running diagnostics
   on the setup page of the redirect test:
 * > [View post on imgur.com](https://imgur.com/nxbbtAD)
 * I used the following instructions to set up optimize:
    [https://support.google.com/optimize/answer/6314801?authuser=2&hl=en](https://support.google.com/optimize/answer/6314801?authuser=2&hl=en)
 * In your plugin I added the GTM ID under General and the Google Optimize stuff
   under integrations/google optimize:
 * > [View post on imgur.com](https://imgur.com/V84SBo6)
 * My Google Optimize Container is setup like this:
 * > [View post on imgur.com](https://imgur.com/eQBM6hh)
 * 
    From there I copied the container ID and Google Analytics ID to your plugin
   setting.
 * In the Tag Manager I have a tag for optimize and one for page view:
 * > [View post on imgur.com](https://imgur.com/zNusZSB)
 * The optimize tag looks like this:
 * > [View post on imgur.com](https://imgur.com/gtqEnGd)
 * 
    and the page view tag looks like this:
 * > [View post on imgur.com](https://imgur.com/mvxEGJb)
 * Not sure what I am doing wrong. Do you have any idea?
 * kind regards
    moe

Viewing 1 replies (of 1 total)

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/google-optimize-5/#post-12360622)
 * Hi moe,
 * Could you also post the URL of your site?
    One thing is for sure: you need to
   use either the integration in GTM4WP or the Optimize tag in GTM
 * The integration of GTM4WP will give you a bit better latency and a lower chance
   to have page fickers for regular A/B tests (not redirect tests). The Optimize
   tag could give you a bit better alignment with your GA tag but could introduce
   additional latency for regular A/B tests.

Viewing 1 replies (of 1 total)

The topic ‘Google Optimize’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/google-optimize-5/#post-12360622)
 * Status: not resolved