
Embedding the declaration
On any page where the banner script is installed, add:banner.js detects the container and renders the declaration into it. No extra script tag or API key is needed — the site is identified by the same public key the banner uses.
What is rendered
The declaration renders a table grouped by consent category (Necessary, Preferences, Statistics, Marketing, and any custom categories), with one row per artifact:| Column | Example |
|---|---|
| Name | _ga |
| Provider | Google Analytics |
| Domain | .example.com |
| Expiry | 2 years |
| Type | First-party / Third-party |
| Storage | Cookie / localStorage / sessionStorage |
Data source and freshness
- Content comes from the latest completed scan for your site, including your manual re-categorizations.
- Responses are cached for 1 hour, so a new scan is reflected on your policy page within an hour at most.
- The underlying endpoint is public:
If no scan has completed yet, the container renders an empty state. Run your first scan before publishing the policy page.