Script Blocker (Pro)

Script Blocker will be automatically turned off while cookie scanning is running so all cookies are found and none are blocked by script blocker. Once cookie scanning is finished script blocker will be enabled automatically again.

The following are the fields under Script Blocker Settings:

  • Script Blocker is currently - Enable or Disable the Script Blocker using the toggle button.

  • Custom Scripts - Enter non-functional cookies script here (e.g. Google Analytics) to be used after the consent is accepted.

  • Header Scripts - Allows inserting the script in the header.

  • Body Scripts - Allows inserting the script in the body.

  • Footer Scripts - Allows inserting the script in the footer.

  • Click here to manually select the cookie categories - By clicking the Advanced Settings button, the category of each third-party script can be updated by using provided dropdown options.

With Script Blocker cookies used by third party scripts (eg. Google Analytics, YouTube video embeds etc.) will be stored on visitors' browsers according to their cookie preferences. If a user decides to not allow marketing cookies then third party services will not run on that user's browser. By default, the script blocker is off.

Visitors will see a message to accept certain category cookies if the script blocker is blocking any cookies which are required to display content.

If a user updates cookie preferences then new settings will be reflected in the browser and according to that cookies will be set.

Help

The Help Guide is available at the upper right corner of the screen of GDPR Cookie consent plugin.

The Cookie Bar Shortcodes section lists all the shortcodes that are used in the plugin. These shortcodes can be used anywhere on the website, pages, and posts, not just the cookie bar. To add the shortcodes inside a template file, you can use the ‘do_shortcode’ function.

Last updated