Skip to main content
All Industries with EU Presence|Data Protection Officer / Privacy Officer / Legal Counsel

GDPR Privacy & Third-Party Tracking Audit

Inventory observable tracking signals for a privacy review

Inventory observable tracking signals for a privacy review. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.

Implementation example by the EdgeDNS team · Updated

The Challenge

Tags, embedded services, and consent configurations can drift from the inventory maintained by privacy teams.

The Solution

Collect analytics, technology, privacy-audit, CDN, and header findings from public pages. Static HTML and response headers expose only part of tracking behavior: scripts loaded after consent, authenticated flows, and network activity require browser-based review. Check cache metadata and combine findings with your processing inventory and legal review.

Endpoints Used

Combine these EdgeDNS endpoints to build this solution.

GET
/v1/domain/analyticsAPI reference

Analytics Detection: Find tracking and analytics tools

GET
/v1/domain/privacy-auditAPI reference

Privacy Audit: Cookies, trackers, and compliance analysis

GET
/v1/domain/techAPI reference

Technology Detection: Detect frameworks, CMS, and libraries

GET
/v1/security/headersAPI reference

Security Headers: Analyze HTTP security headers, score, and compliance

GET
/v1/domain/cdnAPI reference

CDN Detection: Detect CDN provider from headers

What this workflow helps you do

Create an initial technical inventory

Review detected analytics and third-party technologies.

Investigate changes

Compare saved scans and confirm new services with the site owner.

Support privacy review

Use findings as evidence inputs; they do not establish GDPR or CCPA compliance.

Code Example

Inventory observable tracking signals for a privacy review

javascript
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
  {
    "path": "/v1/domain/analytics",
    "params": {
      "domain": "example.com"
    }
  },
  {
    "path": "/v1/domain/privacy-audit",
    "params": {
      "domain": "https://example.com"
    }
  },
  {
    "path": "/v1/domain/tech",
    "params": {
      "domain": "https://github.com"
    }
  }
];

// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
  const url = new URL(path, 'https://api.edgedns.dev');
  url.search = new URLSearchParams(params).toString();
  const response = await fetch(url, { headers });
  const result = await response.json();
  if (!response.ok) {
    throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
  }
  // Keep the response metadata and any partial/unknown findings for review.
  console.log(path, result);
}

Learn More

Explore industry standards and best practices related to this use case.

Ready to build GDPR Privacy & Third-Party Tracking Audit?

Get started with 200 free API requests per month. No credit card required.

Other Use Cases

GDPR Privacy & Third-Party Tracking Audit | EdgeDNS