Search
Close this search box.

Feature request

Join 800.000 users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Feature request

Missing a feature? Add a feature request and we will review your request. We might ask for more information if needed.

1 vote

Support custom attributes on inline script tags

The current implementation doesn’t play nice with a heavily cached/optimised site using Litespeed.

If minification and delayed loading of Javascript is activated, the consent state is not updated when the user navigates through the site.

Adding data-no-optimize=”1″ data-no-defer=”1″ to the inline scripts that are added in the “inline_cookie_script” function excludes these from minification and delaying and everything works as it should.

Planned Category: Integrations Rob Bates shared this idea