Everything you need to set up and use CookieConsent.
Get CookieConsent working on your website in three steps:
<head> of your websiteCopy your unique embed code from the dashboard and paste it into the <head> tag of every page on your website:
<script src="https://cookieconsent.io/embed/consent-banner.js?site=YOUR_SITE_CODE"></script>
Replace YOUR_SITE_CODE with the site code shown in your dashboard. This code is unique per website or location.
After adding the embed code, visit your website in an incognito/private window. The consent banner should appear. Accept or decline, then check your dashboard — a new consent record should appear within seconds.
For advanced styling, paste custom CSS into the Custom CSS field in banner settings. Example:
.consent-banner {
border-radius: 0;
box-shadow: none;
}
.consent-banner__title {
font-size: 1.2rem;
}
Enterprise accounts can manage multiple locations (websites or physical sites) from one dashboard. Each location gets its own unique embed code.
To add a location, go to Locations → Add Location. Fill in the name, domain, and optional classification fields (category, region, country).
Locations can have three statuses:
Categories let you group locations for filtering and reporting. Define your categories at Locations → Manage Categories (one per line). Example categories: Retail, Franchise, Corporate, Warehouse.
Once set, assign a category when creating or editing a location. Reports can then be filtered and broken down by category.
The Enterprise Reports page lets you filter consent data by date range, category, location, or country. You can view:
Use the Export CSV button to download a full export of the filtered data for audit or compliance purposes.
The CookieConsent API uses Bearer token authentication via Laravel Sanctum. Generate a token in your dashboard under Settings → API Tokens.
Authorization: Bearer YOUR_API_TOKEN
Check if the authenticated account has an active subscription:
GET /api/check-subscription
Response:
{
"subscribed": true,
"plan": "growth"
}