First Domain
Last updated: September 8, 2026
A domain in Cookiestack is the unit everything else is scoped to — its own banner configuration, its own API key, its own consent statistics. Add one under Domains.
1. Add the site URL
Enter the site's full URL (e.g. https://example.com). The server checks that it points to a real, publicly reachable host — local, private, and internal addresses are rejected for security reasons. The number of domains you can add is limited by your plan.
2. Verify ownership
To stop anyone else from collecting statistics for your site, the domain must be verified. The domain page shows a unique token — publish it in a file at:
https://your-site.com/.well-known/cookiebot.txt
The file's contents are just the token itself — no wrapper, no HTML. Once it's published, click "Verify" — the server fetches that URL and checks the token is there. If the file isn't live yet, you'll get "Verification token not found at domain" — wait for the change to go live and try again.
The same domain can't be verified twice under different organizations — if the hostname is already verified elsewhere, you'll get a conflict error.
3. Install the widget
Once verified, the domain page shows a ready-to-use script tag with your API key already filled in — just copy it into your site's <head>. See "Installation" for details.