Docs

Integrate consent in minutes

A drop-in snippet for the web, native SDKs everywhere your users are, and the standard consent APIs you already know. Everything you need to evaluate and integrate Cookie Panda — no account required.

Quickstart

Add one async script tag to your site and Cookie Panda handles consent end to end. Drop it in your <head> ahead of any analytics or advertising tags so trackers stay blocked until the visitor decides.

<!-- Add to your <head>, before any tracking scripts -->
<script
  src="https://sdk.cookiepanda.app/cookiepanda.min.js"
  data-cp-token="cp_xxx"
  data-cp-api="https://edge.cookiepanda.app"
  async
></script>

What happens automatically

  • Geo-detects the visitor and applies the right jurisdiction (GDPR, CCPA/CPRA, LGPD and more).

  • Renders your consent banner using the copy, colours and layout configured in the dashboard.

  • Blocks cookies and tracking scripts before consent, then unblocks the moment a visitor opts in.

  • Emits Google Consent Mode v2 signals and the IAB TC and GPP strings as choices change.

Install

Cookie Panda ships native SDKs for every surface, all sharing one consent record. Pick your platform below, then follow the platform guide for the full setup.

Web — script tag (guide)

<script
  src="https://sdk.cookiepanda.app/cookiepanda.min.js"
  data-cp-token="cp_xxx"
  data-cp-api="https://edge.cookiepanda.app"
  async
></script>

iOS — Swift Package Manager (guide)

// Package.swift
dependencies: [
  .package(
    url: "https://github.com/cookiepanda/cookiepanda-ios.git",
    from: "1.0.0"
  )
]

Android — Gradle (guide)

// build.gradle.kts (app)
dependencies {
  implementation("app.cookiepanda:sdk:1.0.0")
}

Flutter — pub (guide)

flutter pub add cookie_panda

Connected TV

Native consent SDKs and TV-optimised banners for Apple tvOS, Android TV, Roku and Amazon Fire TV — remote-friendly and IFA-aware, sharing the same consent record as web and mobile. Guides: tvOS · Android TV · Roku

Configuration

The web loader takes two data attributes. Everything else — banner copy, colours, layout and theme — is managed visually in the dashboard, so you rarely need to touch code again after install.

  • data-cp-token (required) — your public site token (cp_…). Identifies the site so the right configuration loads. Safe to expose in client-side code.

  • data-cp-api (optional) — consent edge endpoint. Defaults to https://edge.cookiepanda.app; override only for a custom domain.

Banner text, languages, colours, layout and light / dark / system theme are all edited in the dashboard and served to the SDK at runtime — no redeploy needed when you tweak the banner.

Frameworks & signals

Cookie Panda applies the right privacy framework per visitor and emits the standard consent signals the ad-tech and analytics ecosystem expects.

Regulations covered

  • GDPR — EU — prior consent, granular purposes, easy withdrawal

  • UK GDPR — United Kingdom post-Brexit regime

  • CCPA / CPRA — California — opt-out of sale / sharing

  • US state laws — Virginia, Colorado, Connecticut, Utah, Texas and more

  • LGPD — Brazil — consent and data-subject rights

  • PIPL — China — separate consent for sensitive data

  • COPPA — US — protections for users under 13

Standards & signals

  • IAB TCF v2.3 — Registered CMP, TC strings via the __tcfapi locator

  • Google Consent Mode v2 — Emitted automatically — ad_storage, analytics_storage and more

  • Google Additional Consent — AC string for Google's non-TCF ad partners

  • IAB GPP — Global Privacy Platform — US national + state section strings

  • GPC — Global Privacy Control browser signal honored automatically

Full compliance overview →

Data subject requests

Privacy laws give people the right to access, delete or opt out of the sale of their data — and you have to give them a way to ask.

Every site gets a public, no-login data-subject-request (DSAR) intake form. Link it from your privacy policy and visitors can file access, deletion and opt-out requests without an account. Submissions land in a dashboard workflow with SLA timers, so requests never go overdue.

Get compliant today. Stay compliant for good.

Join the teams using Cookie Panda to turn privacy compliance from a liability into a signal of trust. Free to start — no credit card required.