Cookie Guard
Integrate Cookie Guard in minutes — REST API, WordPress plugin, and embed widgets.
Overview
Cookie Guard is a drop-in consent banner that blocks tracking scripts until the visitor consents, detects the visitor language, shows legally-reviewed copy in 62 languages, and stores a tamper-proof audit trail for regulators.
Quick start
Add the script tag below to your site with your site ID. The banner renders on first paint and blocks every tracker until the visitor accepts.
<script
src="https://cookie.api.jetweb.app/widget.js"
data-site-id="YOUR_SITE_ID"
async
></script>
Authentication
Every API endpoint requires a Bearer token. Generate one in the dashboard under "API Keys" for the relevant product. Keep tokens server-side — never commit them to public repositories or ship them in frontend bundles.
Authorization: Bearer YOUR_API_KEY
Endpoints
Base URL: https://cookie.api.jetweb.app
/api/sites
/api/sites/:id/scan
/api/sites/:id/consents
/api/consents
Integrations
WordPress, Shopify, and static sites use the one-line script tag. For custom SPAs, call the REST API directly to record consent and apply the blocklist.