• Resolved alekv

    (@alekv)


    Hi

    I’m the developer of the Pixel Manager for WooCommerce.

    For site managers that use the Pixel Manager and the Iubenda CMP together, I would like to find out if there is a way to programmatically exclude the Pixel Manager scripts from being automatically blocked by the Iubenda CMP.

    The Pixel Manager can automatically detect the visitor consent given through the Iubenda CMP and will load or block tracking scripts accordingly.

    Does the plugin offer a filter or a way to exclude specific script tags from autoblocking?

    (There is a way to disable autoblocking entirely. I would need a solution that keeps autoblocking enabled but excludes only specific scripts from autoblocking.)

    Thanks
    Aleksandar

    • This topic was modified 1 year, 9 months ago by alekv.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author iubenda

    (@iubenda)

    Hi Aleksandar,

    you have two ways to exclude a specific script from prior-blocking:

    1. To add the script in the HTML between the two tags <!--IUB-COOKIE-BLOCK-SKIP-START--> <script type="text/javascript">Script to exclude</script><!--IUB-COOKIE-BLOCK-SKIP-END-->
    2. To add the script in the “custom script” section of our plugin and assign purpose #1. It overwrites the standard purpose given by our plugin and since purpose #1 doesn’t need to be prior-blocked it will be fired without consent. It’s a valid “workaround” to overwrite the standard behaviour of our plugin.

    Hope it helps and don’t forget to check our official guide here: https://www.iubenda.com/en/help/1215-cookie-solution-wordpress-plugin-installation-guide

    Thread Starter alekv

    (@alekv)

    But is there no way to do that programmatically with a filter?

    Plugin Author iubenda

    (@iubenda)

    Hi Alekv,

    currently is not possible but we are working to give you this possibility in future. I’ll keep you posted here as soon as I have good news for you ??

    Thread Starter alekv

    (@alekv)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is there way to exclude certain scripts from being automatically blocked?’ is closed to new replies.