pre_consent_scan
Check what loads before consent (free)
Free, no sign-in: fetch a public page as a first-time visitor and report which trackers (GA4, Google Ads, Meta Pixel, TikTok, LinkedIn, Hotjar…) and cookies load before the visitor consents, which ones wait, which other sites the page contacts (e.g. Google Fonts), and how to fix it. Static check of the HTML and headers (no JavaScript runs). Limited to 10 checks per hour per visitor.
输入参数url必填
Show the signed-in PrivacyPill account: number of sites, licenses (Free, Pro, Lifetime) and limits.
无需输入参数。
List the domains (sites) on the PrivacyPill account with their plan, site key and last scan score.
无需输入参数。
get_site
Get site and banner settings
Get one site with its full cookie banner settings (layout, colours, categories, Consent Mode, languages).
输入参数site_id必填
Add a domain to PrivacyPill and create its cookie banner. Returns the site, its banner settings and the embed snippet. The free plan includes one site.
输入参数namedesigndomain必填license_id
configure_banner
Configure banner
Update a site's cookie banner: layout (pill, bar, modal, corner), colours or preset, categories, services, Google Consent Mode v2, languages and wording. Only the fields you pass change. Pro sites can also switch geo-targeting and monthly rescans.
输入参数namedesigndomainsite_id必填geo_targetingmonthly_rescan
get_embed_snippet
Get embed snippet
Get the one-line PrivacyPill embed (with Consent Mode fallback) for a site, plus install steps for HTML, Google Tag Manager, WordPress, Shopify and Webflow.
输入参数site_id必填
run_compliance_scan
Run compliance scan
Scan a public web page for trackers (GA4, Google Ads, GTM, Meta Pixel, Hotjar, TikTok, LinkedIn…), cookies and Consent Mode setup, and get a 0–100 compliance score. Scans of your own domains are saved; apply=true adds the detected services to that site's banner.
输入参数url必填applysite_id
list_banner_presets
List banner presets
List the built-in banner colour presets and the allowed layouts, languages and categories.
无需输入参数。