The Privacy Suite for WordPress

Configuring Autoptimize with Complianz

Get compliant today in the European Union, United States, Canada, United Kingdom, Australia, Brazil & South Africa with the only Privacy Suite for WordPress that offers a fully-featured plugin for Worldwide Compliance.

Autoptimize and Complianz work well together and are compatible. It might be that optimizing, and minifying javascript with Autoptimize could lead to issues in certain configurations. This is not due to the plugins themselves, but the complete configuration of all plugins and your theme. In some instances, this might lead to dependencies issues when scripts are blocked before consent, or combined javascript files can no longer be separated by Complianz.

How to check if optimizing javascript might be an issue

There’s a simple way to see if it’s javascript optimization by disabling autoptimize for a specific URL with a parameter. If for example; domain.com/post-name/ has an issue you can load the URL with the parameter

domain.com/post-name/?ao_noptimize=1

if it’s domain.com/post-name?another_parameter/ you can use

domain.com/post-name/?another_parameter&ao_noptimize=1

The parameter works

If adding the parameter works, please uncheck the following setting, if enabled, and try again.

If that didn’t work you can exclude Complianz first, and try again.

If that didn’t work you can also exclude the service that is misfiring, in this example, we use a specific javascript from Advanced Ads.

The parameter doesn’t work

Continue with a parameter by Complianz, with the same example as above. Use these parameters:

domain.com/post-name/?cmplz_safe_mode=1

if it’s domain.com/post-name?another_parameter/ you can use

domain.com/post-name/?another_parameter&cmplz_safe_mode=1

If that doesn’t work, please contact support for further assistance.

Recent articles

The Privacy Suite for WordPress
Get compliant today with the only Privacy Suite made for WordPress

Categories

Popular articles

Join our mailing list - 8 Tips & Tricks in your inbox over the next 8 weeks!