"Cookie Settings" Link That Reopens the Consent Banner
Adds a [cookie_settings_link] shortcode that lets visitors change their cookie choice at any time: it clears the stored choice and reloads the page so the consent banner shows again.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a [cookie_settings_link] shortcode that lets visitors change their cookie choice at any time: it clears the stored choice and reloads the page so the consent banner shows again.
Adds a [do_not_sell_link] shortcode for the opt-out link US state privacy laws such as the CCPA require; clicking it records the visitor's opt-out in a cookie and tells marketing scripts held back by consent snippets not to run.
Records each cookie consent choice (accepted or rejected, categories, date and privacy policy version) in its own database table, with only a shortened IP address, and lists the latest records under Tools > Consent Log.
Shows a simple Accept / Reject cookie banner, sets Google Consent Mode v2 defaults to "denied" until the visitor accepts, and remembers the choice for six months.
Sets Google Consent Mode defaults before any Google tag loads, denying ad and analytics storage for visitors in the EEA, UK and Switzerland until your consent tool grants it.
Turns the scripts you list by handle into inactive placeholders and only runs them after the visitor gives consent, through the WP Consent API when a consent plugin provides it or the simple wpide_consent cookie otherwise.
Detects visitors whose browser sends a Global Privacy Control (GPC) or Do Not Track signal and updates Google Consent Mode to deny ad storage and personalization for them.
Excludes scripts you list, such as a consent banner, chat widget or analytics loader, from WP Rocket's "Delay JavaScript execution" so they run right away.
Adds an unticked "Send me news and offers" checkbox to the classic checkout and stores the customer's consent on the order and their account.
Adds an unticked "Send me news and offers" checkbox to the Checkout block and saves the answer on the order, so you only email customers who agreed.
Adds the Pinterest tag to every public page and records page visits, with an option to wait for cookie consent.
Adds the Reddit Ads pixel to every public page and tracks page visits, with an option to wait for cookie consent.
Adds a required "I am at least 16 years old" checkbox to the WordPress and WooCommerce registration forms, since many privacy laws do not allow children to consent on their own.
Adds a required "I agree to the privacy policy" checkbox to the comment form and rejects comments that are submitted without it, with a link to your privacy page.
Wraps any embed or HTML in [consent_content category="marketing"]...[/consent_content] so it stays hidden behind a short notice until the visitor consents, using the WP Consent API when available.
Adds Site Health tests that check whether a privacy policy page is published, whether full commenter IP addresses are being stored, and whether the comment cookie consent checkbox is turned on.
Stops WordPress from remembering commenters' name, email and website in cookies, and removes the related consent checkbox.
Adds the TikTok pixel to every public page and records page views, with an option to wait for cookie consent.
Adds the X (formerly Twitter) website tag to every public page for conversion tracking and audiences, with an option to wait for cookie consent.