1. Documentation /
  2. Pixel Manager Pro for WooCommerce /
  3. Developers Documentation /
  4. Experiments

Experiments

Over time, we will implement experiments into the plugin.

CAUTION

Experimental code may be changed or removed without prior notice.

Defer the WPM script

↑ Back to top

INFO

From version 1.15.0

There are many JavaScript optimization plugins that can defer scripts. We thought it might be a good idea to offer this option natively in our plugin. For now, this can be done using an experimental filter.

add_filter('wpm_experimental_defer_scripts', '__return_true');

Move the WPM script to the footer

↑ Back to top

INFO

From version 1.15.0

With this filter, you can move the WPM script from the header to the footer. It is similar to deferring the script.

add_filter('wpm_experimental_move_wpm_script_to_footer', '__return_true');