1. Documentation /
  2. Pixel Manager Pro for WooCommerce /
  3. PMW Plugin Configuration /
  4. Google Optimize

Google Optimize

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

Create Google Optimize Account

↑ Back to top

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

2. Create a new account.

Step 1

Step 2

Step 3

Configure the Plugin

↑ Back to top

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

Step 1

Step 2

Step 3

Anti-Flicker Snippet

↑ Back to top

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​

↑ Back to top

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;
});

WooCommerce

The most customizable ecommerce platform for building your online business.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment