Cookie declaration
renderCookieList paints a categorised inventory of the cookies your site uses
into any element — ideal for a standalone cookie-policy or privacy page.
<div id="cookie-declaration"></div><script> LightningCMP.renderCookieList("#cookie-declaration");</script>renderCookieList( target: string | HTMLElement, options?: CookieListOptions): Promise<void>;target— a CSS selector or element to render into.- The inventory is grouped by category, each cookie showing its name, provider, retention and description.
- Requires a configured backend (
apiBase+siteId) — the inventory is served from your site’s scan results.