# Ad & Tracking Stack Audit vs Sector Leaders (`mjonesone/ad-tracking-stack-audit`) Actor

Scan any website's ad pixels, analytics, tag manager, email/SMS and attribution tools, then see the gaps against the stacks of leading companies in its sector, with ranked fixes. $5 per report.

- **URL**: https://apify.com/mjonesone/ad-tracking-stack-audit.md
- **Developed by:** [Michael Jones](https://apify.com/mjonesone) (community)
- **Categories:** Marketing, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5,000.00 / 1,000 ad & tracking stack reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Ad & Tracking Stack Audit vs Sector Leaders

Scan any public website and get a full audit of its marketing stack: ad pixels, analytics, tag managers, consent tools, email and SMS platforms, attribution, testing and checkout tools. Then see how that stack compares with the stacks of leading companies in the same sector, with gaps, overlaps and ranked fixes.

### What it does

1. Loads the page you give it and detects the tools that fire (for example Meta Pixel / Conversions API, Google Ads, TikTok Pixel, GA4, Google Tag Manager, Klaviyo, Triple Whale, consent managers).
2. Notes for each tool whether it waits for cookie consent.
3. Compares the stack with measured stacks of real companies in your sector: the share of sector stacks that use each tool, and whether you have it.
4. Returns a score, a verdict, findings with evidence and a fix for each, and a short ranked plan.

### Who it is for

- Growth and performance marketers checking their own tracking before scaling spend.
- Agencies auditing a prospect or a new client in minutes.
- Investors and analysts sizing up how mature a brand's marketing operation is.
- Anyone doing competitor research on a rival's ad and attribution tools.

### Input

| Field | Required | Example |
|---|---|---|
| `url` | yes (or `trackers`) | `https://example.com` or `example.com` |
| `sector` | no | `food-beverage-supplements` |
| `trackers` | no | `["Meta Pixel", "Google Tag Manager", "Klaviyo"]`: list your tools instead of a scan |

```json
{ "url": "https://drinkolipop.com", "sector": "food-beverage-supplements" }
```

### Output

One dataset item per run:

```json
{
  "tool": "analyze_ad_stack",
  "status": "ok",
  "input": { "url": "https://drinkolipop.com", "sector": "food-beverage-supplements" },
  "summary": "OLIPOP runs a full, mature stack: every tool used by half or more of measured sector stacks is present ...",
  "verdict": "revise",
  "score": 78,
  "findings": [
    {
      "issue": "Consent gating is inconsistent across ad pixels ...",
      "severity": "high",
      "evidence": "The scan marks Meta Pixel / Conversions API ... as consent_gated true ...",
      "tag": "verified",
      "fix": "Pick one consent manager ... Route every ad pixel through Google Consent Mode v2 ...",
      "seen_on_your_page": true,
      "sources": ["blueprint-bryan-johnson"]
    }
  ],
  "next_steps": [{ "step": "Unify consent ...", "why": "...", "effort": "days", "metric": "..." }],
  "stack_vs_sector": { "sector_stacks": 23, "adoption": [{ "tool": "Klaviyo", "share": 0.87, "you": true }] },
  "detected_tools": [{ "name": "TikTok Pixel", "cat": "ads", "consent_gated": false }],
  "caveats": ["..."],
  "sources": ["beam-dream", "blueprint-bryan-johnson"],
  "job_id": "job_...",
  "generated_at": "2026-11-20T21:34:15+00:00"
}
```

Running the Actor with the unchanged default input returns this stored example at no charge. Change the URL to audit your own site.

### Pricing

Pay per event: **$5.00 per finished report** (event `ad-stack-report`). You are charged only when a report is delivered. Errors, daily-limit refusals and pages that block the scan (HTTP 4xx/5xx) are not charged.

### Limits

- 10 runs per user per day.
- A report usually takes 3 to 12 minutes.
- Public pages only. Pages behind a login or a bot wall cannot be scanned; list your tools in `trackers` instead.

### Data and honesty

The comparison draws on a library of hand-made teardowns of real companies' marketing (tracking stacks, funnels, ads, copy). Every finding carries an evidence tag, `verified`, `estimate`, `inferred` or `rumour`, and `sources` lists the ids of the teardown records it rests on. Findings without supporting evidence are marked `inferred`, never presented as fact. The library itself is not returned; you get your audit and at most short quotes.

# Actor input Schema

## `url` (type: `string`):

The public site to scan, e.g. 'https://example.com' or 'example.com'. We load the page and detect ad pixels, analytics, tag managers, email/SMS and attribution tools.

## `sector` (type: `string`):

The sector whose leaders you want to be compared with.

## `trackers` (type: `array`):

If you do not want a scan, list your tools instead, e.g. 'Meta Pixel', 'Google Tag Manager', 'Klaviyo'. When this list is filled, the URL is not scanned.

## Actor input object example

```json
{
  "url": "https://drinkolipop.com",
  "sector": "food-beverage-supplements"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `overview` (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 = {
    "url": "https://drinkolipop.com",
    "sector": "food-beverage-supplements"
};

// Run the Actor and wait for it to finish
const run = await client.actor("mjonesone/ad-tracking-stack-audit").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 = {
    "url": "https://drinkolipop.com",
    "sector": "food-beverage-supplements",
}

# Run the Actor and wait for it to finish
run = client.actor("mjonesone/ad-tracking-stack-audit").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 '{
  "url": "https://drinkolipop.com",
  "sector": "food-beverage-supplements"
}' |
apify call mjonesone/ad-tracking-stack-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mjonesone/ad-tracking-stack-audit"
        }
    }
}
```

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/F04sFsfnt1hI6h37R/builds/UbwAgxcoslZS2hLcA/openapi.json
