How to Exclude CookieYes Script from the NitroPack WordPress Plugin
Last updated on June 2, 2025
On this page
Overview
Steps to exclude CookieYes script from the NitroPack WordPress plugin
Step 1:
Access NitroPack Dashboard

Step 2:
Open the NitroPack App

Step 3:
Access Exclusion Settings in NitroPack App

Step 4:
Add CookieYes Scripts to the Exclusion List
To ensure that NitroPack does not optimize CookieYes scripts, add the following entries to the exclusion list:
- Exclude scripts from
cookieyes.com
Enter cookieyes.com in the Asset URL/Code to the exclusion list to prevent NitroPack from optimising any scripts coming from this domain.
2. Exclude scripts matching cookie-law-info
Add cookie-law-info to the exclusion list to prevent any scripts with paths starting with this name from being optimised.
- Exclude scripts related to
_ckyGcm
Add _ckyGcm to exclude any scripts containing this pattern.

Step 5:
Save the Changes
Conclusion
It is critical that you exclude the CookieYes script from NitroPack optimization to ensure the proper function of cookie consent management on your website while still benefiting from NitroPack’s performance enhancements. By following this guide, you’ve successfully configured NitroPack to ignore CookieYes scripts, allowing both plugins to work simultaneously without any conflicts on your WordPress site.
Remember that while this configuration optimizes the compatibility between NitroPack and CookieYes, it’s important to regularly check your website’s performance and functionality. As plugin updates occur, you may need to revisit these settings to ensure continued compatibility.
For further assistance, our dedicated support team are here to assist you.