Install on any website
index.html
1<!doctype html>
2<html>
3<head>
4 <title>My shop</title>
5 <script id="BerryCookie"
6 src="https://cdn.berrycookie.com/bc.js"
7 data-key="a1b2c3d4"></script>
8</head>
9<body> …
✓ Published
🍪 Cookies
We use cookies to improve the site.
RejectAccept
- Copy your line from the dashboard
- Paste it in the page head
- Publish the site
- The banner shows to visitors
Add your website in the dashboard (Websites → Add), verify the domain with the DNS record or the meta tag, publish the banner, then paste this tag as the first script in <head>, before any tracker:
<script id="BerryCookie" src="https://cdn.berrycookie.com/bc.js"
data-key="YOUR-WEBSITE-KEY" data-blockingmode="auto"></script>| Attribute | Meaning |
|---|---|
data-key | The website key, from Websites → Install. |
data-blockingmode | auto (default) holds the trackers your scans found and well-known ones until consent; manual holds only the tags you mark. |
data-consentmode | off stops the Google Consent Mode signals; update sends only updates (when defaults are set elsewhere). |
The banner works on the verified domain, its subdomains and the aliases you add. A new domain or alias must be verified before the banner appears there. The script is small (about 9 KB compressed), loads from a CDN and does not slow the page down.
Need help? [email protected]
Ready to put it on your website?
Install it with one line of code, the Google Tag Manager template or the WordPress plugin.