I’m reaching out to request a feature enhancement for the cookie script: the ability to selectively exclude certain pages or widgets from loading the script.
Context: Previously, I integrated the cookie script through Google Tag Manager (GTM), which allowed me to control where and when the script loaded. However, due to Apple’s Safari update blocking GTM functionalities, I had to embed the cookie script directly in the website header. This change has led to an unintended issue where multiple consent forms are displayed on a single page due to the inclusion of iframes and other third-party widgets, each loading its own version of the script.
Proposed Solution: Adding an option to exclude specific pages or widgets would resolve this by allowing finer control over where the script is active. This would prevent duplicate consent prompts while ensuring compliance with cookie regulations..