Privacy Audit: Understand and Use the Results
Cookies, trackers, and compliance analysis
Web privacy audits: what regulators actually look at on your site
A web privacy audit is the systematic check of whether a website complies with the privacy laws and regulations that apply to its visitors. The two laws most often cited are the General Data Protection Regulation (GDPR) in the European Union (in force since 2018) and the California Consumer Privacy Act (CCPA), later expanded into the California Privacy Rights Act (CPRA) (in force since 2023). Beyond those, there are similar laws in Canada (PIPEDA), Brazil (LGPD), Japan (APPI), Australia (Privacy Act), and a growing number of US states (Virginia, Colorado, Connecticut, Utah, etc.). A privacy audit checks whether the website is doing the things these laws require — and not doing the things they forbid.
You should care because privacy fines are existential at the upper end and embarrassing at the lower end. The largest GDPR fines on record (against Meta, Amazon, and TikTok) have been in the hundreds of millions of euros each. Even small companies have been fined six figures for things as ordinary as having a cookie banner that pre-checked the consent boxes, or running Google Analytics without explicit user consent. The most common audit findings are not exotic legal interpretations — they are basic hygiene failures that any site can fix in a day.
The five things every privacy audit looks at:
Cookies before consent. Are any non-essential cookies being set before the user accepts the cookie banner? This is the single most common GDPR violation. Analytics cookies, advertising cookies, and most third-party cookies all require prior consent.
Cookie banner quality. Is there a banner at all? Does it offer a real "reject all" option (not just "accept all" plus a hidden settings page)? Is consent recorded and stored?
Third-party trackers. Which trackers does the page load (Google Analytics, Facebook Pixel, Hotjar, Mixpanel, etc.) and have they been disclosed in the privacy policy?
Privacy policy presence and quality. Is there a privacy policy link in the footer? Does it actually disclose what data is collected, why, and how to opt out?
Data subject rights. Is there a clear way for a user to request their data, delete their data, or object to processing — as required by GDPR?
Three questions a privacy audit answers:
Are there any obvious GDPR or CCPA violations on my website right now?
Is my cookie banner actually compliant, or is it the kind that has been fined repeatedly?
For a legal questionnaire from a customer or partner, what is my current privacy posture in concrete terms?
The cost of skipping privacy audits is the small but real risk of a fine, plus the larger risk of failing customer security questionnaires and losing deals. The fix is mostly a matter of configuring the cookie banner correctly and making sure the third-party trackers respect the consent state. The official GDPR text lives at gdpr.eu and the CCPA at the California Attorney General's office.
The Privacy Audit endpoint, in plain language
Cookies, trackers, and compliance analysis
Privacy regulations (GDPR (General Data Protection Regulation), CPRA (California Privacy Rights Act), ePrivacy Directive (EU ePrivacy Directive)) carry significant fines for non-compliance. Websites frequently add tracking scripts without proper consent mechanisms. This audit provides the visibility needed to prioritize privacy review.
What is actually happening when you call it
Performs a privacy audit: inspects final-response cookie-setting attempts with security attributes (Secure, HttpOnly, SameSite, and the CHIPS Partitioned attribute used for cross-site cookies in modern Chrome), detects consent management platforms with sophistication analysis (IAB TCF API (Application Programming Interface), granular consent categories, reject-all buttons, Google Consent Mode v2), fetches and analyzes privacy policy content for GDPR (General Data Protection Regulation) terms (data rights, legal basis, DPO (Data Protection Officer) contact, transfer mechanisms) and CCPA (California Consumer Privacy Act) terms (California disclosures), identifies third-party trackers by category, evaluates CCPA signals (Do Not Sell link detection), detects possible consent-gate source patterns (behavior and legal applicability unverified), and computes documentation signals with legal assessment explicitly unverified. Returns a score, grade, per-component breakdown, and actionable recommendations.
Why this specific tool matters
Choose a task: GDPR Compliance Check. Audit websites for tracking technologies that require consent under GDPR (General Data Protection Regulation).
Run the Privacy Audit request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Privacy Audit reference to check the field definitions and supported options.
Available on the developer plan. The technical details: `GET /v1/domain/privacy-audit`.
When would I actually use this?
GDPR Compliance Check
Audit websites for tracking technologies that require consent under GDPR (General Data Protection Regulation).
Use the finding: Identify compliance gaps before they result in regulatory fines.
Cookie Audit
Inspect Set-Cookie attempts on the final HTTP (HyperText Transfer Protocol) response and their security attributes. JavaScript, subresource cookies and actual browser storage require separate runtime observation.
Use the finding: Identify cookie candidates for a runtime inventory and privacy-notice review.
Vendor Privacy Assessment
Evaluate vendor websites for tracker usage and consent management as part of procurement.
Use the finding: Assess vendor privacy practices before sharing user data.
The easiest way: just ask your AI assistant
Connect the MCP server. Just ask in plain English:
Use domain_privacy_audit with domain=https://example.com. Show the returned findings, identify unavailable evidence, and explain a useful next check.
Confirm the tool and inputs in the client before accepting its summary. For Privacy Audit, use the response fields below to separate observations from recommendations.
The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.
The technical way: call it from code
This Privacy Audit request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the developer plan or higher; adapt the target to your task.
curl --request GET 'https://api.edgedns.dev/v1/domain/privacy-audit?domain=https%3A%2F%2Fexample.com' \
--header "Authorization: Bearer YOUR_API_KEY"Prepare inputs for Privacy Audit
Start with the inputs below. Keep the same hostname, path, and options when comparing Privacy Audit observations. The API reference contains the complete parameter contract, optional settings, and access requirements.
| Field | Type | Required? | What it means | Example |
|---|---|---|---|---|
domain | string | Yes | Domain or full URL (web address) — accepts `example.com` or `HTTPS://example.com/path`. | https://example.com |
Interpret Privacy Audit findings
Read these fields alongside the full response from your Privacy Audit check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.
| Field | Type | What you'll see in it |
|---|---|---|
assessment | object | Source-evidence status, observed/applicable weights and coverage; missing observations remain unavailable, not legally inapplicable. |
legalAssessment | string | Always unverified. Static documentation and header signals do not establish legal compliance or runtime enforcement. |
applicability | string | Unknown: jurisdiction, processing purpose and covered-business duties require separate review. |
Words you might be wondering about
API (Application Programming Interface) — A way for one program to ask another program for something — like a waiter taking your order to the kitchen.
HTTP (HyperText Transfer Protocol) — The language web browsers and websites use to talk to each other.
GDPR (General Data Protection Regulation) — Europe's privacy law. Requires websites to be transparent about what personal data they collect and how they use it.
CCPA (California Consumer Privacy Act) — California's privacy law. Gives California residents the right to know what personal data a company has collected about them.
HTML (HyperText Markup Language) — The basic language web pages are written in. The tags you see in the source code (<h1>, <p>, <a>) are HTML.
CPRA (California Privacy Rights Act) — An update to California's CCPA privacy law that adds new rights for residents and creates a dedicated privacy regulator. Took effect in 2023.
DPO (Data Protection Officer) — A person designated inside a company to oversee its compliance with privacy laws like GDPR. Required for many organizations that handle large amounts of personal data.
ePrivacy Directive (EU ePrivacy Directive) — An EU privacy law specifically about electronic communications and tracking technologies like cookies. The reason every European website asks you to accept cookies.
Related Guides
Analytics Detection: Understand and Use the Results
Find tracking and analytics tools
Technology Detection: Understand and Use the Results
Detect frameworks, CMS, and libraries
Meta Tags: Understand and Use the Results
Extract SEO and social meta tags
Website Health: Understand and Use the Results
Combined SEO, accessibility, and privacy audit
Accessibility Audit: Understand and Use the Results
Static HTML accessibility checks with coverage limits
API Reference for This Guide
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.