Strapi adapter: headless CMS bridge
Use this path when Strapi provides content and settings, while the frontend site is responsible for loading the Cookiezy runtime, banner, scanner, and policy page audit.
- • Keep the actual Cookiezy scripts on the frontend site.
- • Use Strapi to manage `defaultLocale`, `localeRoutes`, and policy URL mappings.
- • Pass licensing fields through the generated frontend config.
- • Mount the live cookie audit on the published frontend policy page, not inside Strapi admin.

Serve the runtime from the frontend shell
The frontend still loads the shared CSS, the canonical Strapi bridge file, a bootstrap step that maps Strapi settings into `window.CookiezyConfig`, and only then the core runtime, UI, and scanner. Important: `cookie-consent.js` must load after the Strapi adapter boot step.