Docs
Everything you need to install allowedit, connect it to Google's tags, block what needs blocking and prove what visitors chose.
Add one script tag as the first tag in your site's
<head>: <script src="https://allowedit.com/c/<siteId>.js"></script>. It shows the banner, sets Consent Mode defaults and blocks known trackers before anything else runs. Start here.Get started
- Install the scriptAdd one script tag to your site's head, first, before any other tag. Then publish your banner and check it works. The whole setup takes about five minutes.
- Verify your domainProve you own a site with the script tag, a meta tag or a DNS TXT record. Verification turns on scheduled scans for the domain and its subdomains.
Platforms
- Google Tag ManagerUse allowedit with Google Tag Manager: where the script goes, how Consent Mode v2 defaults and updates reach your tags, and the allowedit_consent trigger.
- WordPressInstall allowedit on WordPress without a plugin of ours: add the script to the head with your theme, a header plugin or Tag Manager, then remove old banners.
- ShopifyInstall allowedit on a Shopify store by adding the script to theme.liquid, and learn how it works with Shopify's own Customer Privacy settings and apps.
- WebflowInstall allowedit on Webflow: paste the script into Head code in your site settings, publish, and block embeds and custom code until visitors consent.
- WixInstall allowedit on Wix with Custom Code in your site's settings, load it in the head on all pages, and turn off Wix's own banner so visitors see one.
- SquarespaceInstall allowedit on Squarespace with Code Injection in the site header, turn off the built-in cookie banner, and check which plans allow code injection.
Blocking
- Block scripts manuallyHold any script or iframe until a visitor allows its category: change type to text/plain, add data-category, and use data-src for embeds like videos and maps.
- Auto-blocking and custom rulesHow allowedit blocks 40+ known trackers until consent, which Google tags it leaves to Consent Mode, and how to add your own URL rules for anything else.
Consent
- Region rules and GPCChoose what the banner does in the EU, UK, Switzerland and Quebec, in US states with privacy laws, and everywhere else, and how Global Privacy Control works.
- Google Consent Mode v2How allowedit sets Consent Mode v2 defaults per region before any Google tag loads, updates them on each choice, and when to pick advanced or basic mode.
- Cookie declarationAdd an always up-to-date table of your site's cookies to your privacy page with one script tag, or link to the hosted page. It updates after every scan.
- Consent log and CSV exportWhat each consent record holds, how long it's kept on each plan, how to find one by consent id, and how to export your proof of consent as a CSV file.
Developers
- JavaScript APIControl the banner from your own code with window.allowedit: open it, read or set consent, listen for changes, and react to the allowedit_consent events.
- The consent cookieWhat the allowedit_consent cookie stores, how long it lasts, why it counts as strictly necessary, and how a new banner version asks visitors again.
Help
Can't find what you need? Email support@allowedit.com.