# Third-Party Tracker & Google Fonts Scanner (Before Consent) (`mrdexter4/third-party-data-transfer-scanner`) Actor

Load any page from an EU IP without clicking the cookie banner. Lists every third-party host, tracker, Google Fonts request and cookie it loads, mapped to vendor, category and HQ country, and checks the privacy notice. For GDPR/ePrivacy audits. Pay per page.

- **URL**: https://apify.com/mrdexter4/third-party-data-transfer-scanner.md
- **Developed by:** [Mateus Correia](https://apify.com/mrdexter4) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $35.00 / 1,000 page scanneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does Third-Party Tracker & Google Fonts Scanner do?

**Third-Party Tracker & Google Fonts Scanner** opens any web page in a real browser from an **EU IP address**, **without clicking the cookie banner**, and lists every **third-party host** the page contacts. Each host is mapped to a **vendor, category and headquarters country**. The scanner flags:

- 🔤 **Google Fonts** loaded from Google's servers, which sends the visitor's IP address to Google
- 📈 **analytics, advertising, session-replay and marketing tools** contacted before any consent choice
- 🍪 **third-party cookies** set before consent (names and domains only, never values)
- 🌍 **vendors headquartered outside the EU/EEA**, so you can check their transfer basis
- 📄 **vendors not mentioned by name in the privacy notice**, and whether the notice mentions **transfers outside the EEA** when non-EU vendors load

It's a fast way to build or check the vendor list for a privacy notice, catch a tag that slipped past the consent manager, or show a client what loads before consent.

### Who is it for?

- 🏢 **Web agencies and developers:** check every site before launch, after a theme or plugin update, or after adding tags.
- 🔐 **Privacy officers and consultants:** get a vendor inventory per page as structured data.
- 🛒 **Webshop owners:** see which marketing tools fire before visitors choose.
- 🤖 **AI agents:** one URL in, a vendor list and findings out (works through the Apify MCP server).

For a full test of the cookie banner itself (before consent, after "Reject", after "Accept", reject button, pre-ticked boxes, Consent Mode v2), use the [GDPR Cookie Consent Verifier](https://apify.com/mrdexter4/cookie-consent-verifier). For everything at once, use the [EU Website Compliance Audit](https://apify.com/mrdexter4/eu-website-compliance-audit).

### What does it return?

| Field | Description |
|---|---|
| `url` | Page that was scanned |
| `score` | 0–100 score based on the findings |
| `thirdPartyHostCount` | Number of third-party hosts contacted before consent |
| `vendors` | Recognised vendors (100+ known services) |
| `trackingVendorsBeforeConsent` | Analytics, advertising, session-replay and marketing vendors contacted before consent |
| `googleFontsFromGoogle` | `true` if fonts are loaded from fonts.googleapis.com / fonts.gstatic.com |
| `thirdPartyCookiesBeforeConsent` | Number of third-party cookies set before consent |
| `thirdParties` | Every host with vendor, category, HQ country, request count and resource types |
| `unknownHosts` | Third-party hosts not yet in the vendor list |
| `checks` | Findings with status, explanation, suggested action and legal reference |
| `disclaimer` | Included in every result, so single findings forwarded to others keep their context |

### How to scan a website for trackers and Google Fonts

1. Click **Try for free** and add one or more page URLs.
2. Keep the default **EU residential proxy** (NL), or pick another EU country.
3. Click **Start**. Each page takes about 10–20 seconds.
4. Open the **Third-party hosts** view, or download `report.html`.

### How much does it cost?

Pay per event: you pay **per page scanned** (see the Pricing tab). Platform usage, including the EU residential proxy, is included. Pages that fail to load are free.

### FAQ

**Why an EU IP?** Many consent tools and tag managers only hold back trackers for European visitors. Scanning from a US data centre would show trackers that EU visitors never get, or the other way round.

**Does a tracker before consent always mean a problem?** Not always. Some tools can run in a consent-exempt configuration (for example, strictly necessary or properly anonymised analytics, depending on national rules), and transfers to US vendors can rely on the EU–US Data Privacy Framework (an appeal against it, C-703/25 P, is pending) or standard contractual clauses. The scanner reports what it observes and points to the rules to check. It doesn't make a legal judgment, and a "pass" means nothing was observed, not that the site is compliant.

**What about Google Fonts?** A German regional court held in 2022 that loading Google Fonts from Google's servers without consent passes visitors' IP addresses to Google without a legal basis. Later rulings curbed mass warning-letter campaigns, and the question is now pending at the CJEU. Self-hosting the fonts avoids the issue.

**Does it store personal data?** No. It records hostnames, request types and cookie names and domains of the website you enter. It never stores cookie values or anything about real visitors.

*Automated technical observations; not legal advice.* Questions or a vendor missing from the list? Open an issue on the **Issues** tab.

# Actor input Schema

## `startUrls` (type: `array`):

Usually the homepage; add product or checkout pages if they load different tools.

## `proxyConfiguration` (type: `object`):

Recommended: Apify residential proxy in an EU country. Many sites only hold back trackers for European visitors, so a non-EU IP gives misleading results.

## `locale` (type: `string`):

Accept-Language / navigator.language of the browser.

## `waitAfterLoadSecs` (type: `integer`):

Extra time after the load event so delayed tags can fire.

## `pageTimeoutSecs` (type: `integer`):

Navigation timeout per page.

## `generateReport` (type: `boolean`):

Save report.html to the key-value store.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.w3.org/"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  },
  "locale": "nl-NL",
  "waitAfterLoadSecs": 5,
  "pageTimeoutSecs": 45,
  "generateReport": true
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `checks` (type: `string`):

No description

## `report` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.w3.org/"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "NL"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdexter4/third-party-data-transfer-scanner").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://www.w3.org/" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "NL",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("mrdexter4/third-party-data-transfer-scanner").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.w3.org/"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "NL"
  }
}' |
apify call mrdexter4/third-party-data-transfer-scanner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdexter4/third-party-data-transfer-scanner"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/fP57OKkXiF9guiRUU/builds/HOEUlHZNIG6Zf6PUr/openapi.json
