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.
無需輸入參數。