pressidium-cookie-consent
pressidium-cookie-consent copied to clipboard
Regex presets to block scripts
One potential feature to consider is to include presets for commonly used regular expressions (for Google Analytics, Google Tag Manager, Facebook Pixel, etc.)
We could also include presets formatted to match a domain (with or without www.
), a subdomain, etc.
For example,
Main domain regex:
^(?:https?:)?\/\/(?:www\.)?website\.com
Subdomain regex:
^(?:https?:)?\/\/(?:www\.)?sub\.website\.com
Example:
^(?:https?:)?\/\/(?:www\.)?google-analytics\.com
(originally suggested by @nikodemsky on the WordPress.org support forum)