Skip to main content

Google Optimize

If you already own a Google Optimize account for your web shop, skip to Configure the Plugin

Create Google Optimize Account

  1. Open https://optimize.google.com/

  2. Create a new account

    Google Optimize Create an Account

    Google Optimize Create an Account

    Google Optimize Create an Account

Configure the Plugin

Copy and paste the container ID from Google Optimize container into the Pixel Manager for WooCommerce plugin.

Google Optimize Create an Account

Google Optimize Create an Account

Google Optimize Create an Account

Anti-Flicker Snippet

info

Available from version 1.29.0

In rare cases, it can happen that Google Optimize tests don't load fast enough. The original variant will be shown for a very brief moment and then switched to the test variant. The eye perceives this as flicker.

The anti-flicker snippet prevents this.

The user can activate the anti-flicker snippet in case flicker is observed. It also will automatically be activated if Google Optimize and Lazy Loading the Pixel Manager are active at the same time.

To enable the anti-flicker snippet in the settings, go to Advanced > Google, check the tick-box and save the settings.

Google Optimize Anti Flicker Snippet Setting

Adjusting the Anti-Flicker Snippet Timeout

If you need to adjust the anti-flicker snippet timeout, you can do this with the following filter. The default is 4000 milliseconds.

/wp-content/themes/child-theme/functions.php
add_filter('pmw_google_optimize_anti_flicker_timeout', function () {
return 5000;
});