Cookiebot banner not showing
If you're experiencing issues with the banner not showing on your WordPress site, it could be due to the use of optimization plugins like Litespeed, WP Rocket, or others. These plugins often minify or defer scripts, which can interfere with Cookiebot's functionality.
To fix this problem, you'll need to exclude Cookiebot scripts from the settings of your optimization plugin. Here's a general guide on how to do it:
- Log in to your WordPress admin dashboard and find the settings for your optimization plugin.
- Look for options related to file optimization or script handling. This might be labeled differently depending on the plugin.
- Within these settings, you'll typically find options to minify JavaScript files, defer script loading, or delay script execution.
- Locate the field where you can exclude specific JavaScript files from optimization or deferment.
- Enter the URL for the Cookiebot script -
consent.cookiebot.com/uc.js
into the exclusion field. - Save your changes and clear the cache of your website to ensure the updates take effect.
By following these steps, you should be able to resolve the issue with the banner not showing on your site while still benefiting from the optimization features of your chosen plugin.
Comments
0 comments
Please sign in to leave a comment.