# Tracking Pixel Checker — GA4, GTM & Meta Pixel Auditor (`tallyproof/ecommerce-tracking-pixel-auditor`) Actor

Audit store homepages for GA4, GTM, Meta pixel and Google Ads IDs, duplicate tag installs and Google Consent Mode defaults, with plain-English findings.

- **URL**: https://apify.com/tallyproof/ecommerce-tracking-pixel-auditor.md
- **Developed by:** [Ethan Kerr](https://apify.com/tallyproof) (community)
- **Categories:** Marketing, SEO tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 stores

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

## Tracking Pixel Checker — GA4, GTM & Meta Pixel Auditor

**Find broken ecommerce tracking before it costs you ad spend.** Paste a list of store URLs and get one row per store: the platform, every GA4, Google Tag Manager, Meta pixel and Google Ads ID on the homepage, any tag that is **installed twice** (the #1 cause of double-counted purchases), and whether a **Google Consent Mode default** is set before your tags fire. Each row ends with plain-English findings ranked by severity.

**$5 per 1,000 stores audited.** Blocked, skipped and unreachable stores are free.

Built by [Tallyproof](https://tallyproof-ten.vercel.app/?src=products).

### Who it's for

- **Store owners** checking their own site after a theme change, app install or agency hand-off.
- **Agencies and freelancers** auditing a prospect's tracking before a pitch ("your Meta pixel fires twice").
- **Analysts** checking a portfolio of stores for consent and duplicate-tag problems in one run.
- **AI agents** that need a structured "is this store's tracking healthy?" answer for a URL.

### What you get for each store

| Field | What it means |
|---|---|
| `platform` | Shopify, WooCommerce, BigCommerce, Magento / Adobe Commerce, Salesforce Commerce Cloud, Wix, Squarespace, PrestaShop, Ecwid, Webflow or Unknown |
| `ga4Ids`, `gtmIds`, `googleTagIds`, `metaPixelIds`, `googleAdsIds` | Tag IDs found in the homepage HTML |
| `shopifyWebPixelIds` | IDs installed through Shopify Customer Events apps (Facebook & Instagram, Google & YouTube), read from the page config |
| `duplicates` | Any ID installed more than once, with how many times and how (e.g. *installed in theme code and again through Shopify Customer Events*) |
| `consentDefaultFound` | `true` if `gtag('consent','default', …)` is in the page |
| `consentDefaultBeforeTags` | `true` if that default comes before your tags are configured (it must, or early hits ignore consent) |
| `consentManager` | Cookiebot, OneTrust, Usercentrics, CookieYes, Termly, iubenda, Didomi, Osano, Complianz, Consentmo, Pandectes or the Shopify privacy banner |
| `findings` | Ranked list of `{ severity, code, message }` — see below |
| `status` | `ok`, `blocked`, `skipped` (robots.txt) or `error`, with an `errorCode` |
| `fixWithTallyproof` | Link to Tallyproof for a guided fix |

#### Findings it reports

`DUPLICATE_TAG`, `CONSENT_DEFAULT_AFTER_TAGS`, `NO_CONSENT_DEFAULT`, `NO_GOOGLE_TAGS`, `UA_ONLY`, `LEGACY_UA_PRESENT`, `MULTIPLE_GA4_IDS`, `MULTIPLE_GTM_CONTAINERS`, `MULTIPLE_META_PIXELS`, `NO_META_PIXEL_IN_HTML`, `SHOPIFY_WEB_PIXELS`, `GTM_CONTENTS_NOT_INSPECTED`.

### Example output (illustrative values)

```json
{
  "inputUrl": "example-store.com",
  "finalUrl": "https://www.example-store.com/",
  "status": "ok",
  "platform": "Shopify",
  "ga4Ids": ["G-AB12CD34EF"],
  "gtmIds": ["GTM-ABC1234"],
  "googleTagIds": ["GT-XYZ9876"],
  "metaPixelIds": ["123456789012345"],
  "googleAdsIds": ["AW-123456789"],
  "shopifyWebPixelIds": ["123456789012345", "GT-XYZ9876"],
  "duplicates": [
    { "type": "Meta Pixel", "id": "123456789012345", "installCount": 2,
      "detail": "installed in theme code and again through Shopify Customer Events" }
  ],
  "consentDefaultFound": false,
  "consentDefaultBeforeTags": null,
  "consentManager": "OneTrust",
  "findings": [
    { "severity": "high", "code": "DUPLICATE_TAG", "message": "Meta Pixel 123456789012345 installed 2 times (installed in theme code and again through Shopify Customer Events). This can double-count pageviews, events or purchases." },
    { "severity": "medium", "code": "NO_CONSENT_DEFAULT", "message": "No Google Consent Mode default in the HTML. OneTrust may set it at runtime; verify in a browser." }
  ],
  "fixWithTallyproof": "https://tallyproof-ten.vercel.app/?src=products"
}
```

### Try it in one minute

The input form is prefilled with public example pages, so you can click **Start** without changing anything. You get one row per store with every GA4, GTM, Meta pixel and Google Ads ID, any duplicate installs and the Consent Mode check. The same input as JSON:

```json
{
  "storeUrls": [
    "allbirds.com",
    "brooklinen.com",
    "kyliecosmetics.com"
  ]
}
```

Or call it from the API and get the rows back in one request (replace `YOUR_APIFY_TOKEN`):

```bash
curl -X POST "https://api.apify.com/v2/acts/tallyproof~ecommerce-tracking-pixel-auditor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"storeUrls":["allbirds.com","brooklinen.com","kyliecosmetics.com"]}'
```

### How to use it

1. Click **Try for free**.
2. Paste store URLs or domains into **Store URLs**, one per line.
3. Click **Start**. Most stores take about one second.
4. Open the **Audit overview** tab, or export JSON, CSV or Excel. You can also call it from the Apify API, a schedule, Make, Zapier, n8n or an AI agent via Apify MCP.

### Pricing

Pay per event — you pay only for complete audits.

| Event | Price (all plans) |
|---|---|
| Store audited (one store with a complete row) | $0.005 |

That's **$5 per 1,000 stores**, plus Apify's small standard Actor start fee. **Not charged:** stores that block automated requests (403, 429, bot challenges), stores skipped by robots.txt, unreachable stores and invalid URLs. Set **Max cost per run** to cap spend; the Actor stops cleanly when it's reached.

### Limits — please read

- **Homepage HTML only.** One GET request per store. The page's JavaScript is not executed, so tags that load only after a cookie-consent click, tags inside a GTM container, or tags added at runtime by other scripts are not seen. A missing tag means "not found in the homepage HTML", not proof it doesn't exist.
- **Tags inside GTM are not inspected.** When GTM is present, the row says so (`GTM_CONTENTS_NOT_INSPECTED`).
- **Consent check is static.** Some consent managers set the Consent Mode default at runtime; those rows get a medium "verify in a browser" finding, not a high one.
- Stores behind bot protection come back as `blocked` and are never charged or retried more than once.

### Responsible use and data collected

- Reads only the **public homepage** of URLs you supply, plus `robots.txt`. Never logs in, never accepts cookies, never solves CAPTCHAs, uses no proxies, and identifies itself as `TallyproofAuditBot`.
- Respects robots.txt by default and pauses between stores; each store gets at most one request at a time (one polite retry on HTTP 429, honouring `Retry-After`).
- **Collects no personal data.** Output is limited to platform names, tag and account IDs (business identifiers served to every visitor), booleans and HTTP metadata. It never outputs names, email addresses, phone numbers, addresses or page text.
- Refuses private, loopback and local network addresses.

### Guides

Free how-to guides from the same publisher for acting on the results:

- [How to check GA4 is installed correctly on Shopify](https://tallyproof-ten.vercel.app/guides/how-to-check-ga4-installed-shopify/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=tracking-auditor)
- [GTM loaded twice on Shopify: how to check and fix it](https://tallyproof-ten.vercel.app/guides/gtm-double-load--shopify/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=tracking-auditor)
- [Meta Pixel Helper says "no pixel found" on Shopify](https://tallyproof-ten.vercel.app/guides/meta-pixel-helper-no-pixel-found-shopify/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=tracking-auditor)
- [Free one-URL pixel & tag checker (browser, no account)](https://tallyproof-ten.vercel.app/pixel-checker/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=tracking-auditor)

### Related

From the same publisher:

- [Shopify App & Theme Detector — Shopify Tech Stack Checker](https://apify.com/tallyproof/shopify-store-tech-stack-apps-detector): Shopify check, theme, storefront apps and Customer Events pixels.
- [Cookie Consent Checker — Consent Mode v2 & GDPR Scanner](https://apify.com/tallyproof/cookie-consent-consent-mode-checker): consent manager, Consent Mode v2 defaults and trackers firing before consent.
- [Product Schema Checker — Google Merchant Listing Auditor](https://apify.com/tallyproof/product-schema-merchant-listing-auditor): Product JSON-LD checks for Google merchant listings, duplicate app schema and price mismatches.
- [Shopify Speed Test — Core Web Vitals & Slow Apps Finder](https://apify.com/tallyproof/store-speed-test-apps-slowing-store): real mobile Lighthouse test with LCP, CLS and TBT ratings and the named apps and tags that cost the most CPU.
- [Shopify SEO Audit Crawler — Store Site Audit & Broken Links](https://apify.com/tallyproof/store-seo-audit-crawler): crawl a whole store and get per-page titles, meta descriptions, canonicals, H1s, broken links and missing alt text.
- [Shopify Products Scraper — Prices, Sales, Stock & Variants](https://apify.com/tallyproof/shopify-products-price-scraper): every product and variant from any public Shopify store, with price, compare-at (sale) price, stock flag, SKU and images.
- [Apple App Store Scraper - Apps, Top Charts & Privacy Labels](https://apify.com/tallyproof/apple-app-store-scraper): app price per country, rating and star histogram, chart rank, version history, in-app purchase prices and App Privacy labels, plus Top Free/Paid charts for any country and category.
- [Google Play Scraper - App Details, Prices & Ratings by Country](https://apify.com/tallyproof/google-play-app-scraper): local price, rating histogram, installs, version, ads and in-app purchase flags, developer catalogues and reviews (no names) from public Google Play pages.
- [Google Ads Transparency Scraper - Competitor Ads & Creatives](https://apify.com/tallyproof/google-ads-transparency-scraper): every Google ad a competitor runs, by domain, advertiser or country, with first/last shown dates and image links.
- [Website Screenshot API - Full Page, Mobile, No Cookie Banners](https://apify.com/tallyproof/website-screenshot-no-cookie-banners): bulk full-page or mobile screenshots with cookie banners and popups hidden.

### Support

Found a wrong detection or need a platform added? Open an issue on the **Issues** tab and include the store URL.

# Actor input Schema

## `storeUrls` (type: `array`):

Homepage URLs or bare domains, one per line (e.g. allbirds.com). Paths are ignored; only the homepage is audited. Duplicates are removed.

## `maxConcurrency` (type: `integer`):

How many different stores are fetched at the same time. Each store only ever receives one request at a time.

## `delayBetweenRequestsMs` (type: `integer`):

Pause each worker takes after finishing a store. Minimum 250 ms.

## `respectRobotsTxt` (type: `boolean`):

On by default. Stores whose robots.txt disallows the homepage are skipped and not charged. Turn off only for sites you own.

## Actor input object example

```json
{
  "storeUrls": [
    "allbirds.com",
    "brooklinen.com",
    "kyliecosmetics.com"
  ],
  "maxConcurrency": 3,
  "delayBetweenRequestsMs": 500,
  "respectRobotsTxt": true
}
```

# Actor output Schema

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

One row per input store homepage. See the dataset schema for every field.

# 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 = {
    "storeUrls": [
        "allbirds.com",
        "brooklinen.com",
        "kyliecosmetics.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tallyproof/ecommerce-tracking-pixel-auditor").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 = { "storeUrls": [
        "allbirds.com",
        "brooklinen.com",
        "kyliecosmetics.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tallyproof/ecommerce-tracking-pixel-auditor").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 '{
  "storeUrls": [
    "allbirds.com",
    "brooklinen.com",
    "kyliecosmetics.com"
  ]
}' |
apify call tallyproof/ecommerce-tracking-pixel-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tallyproof/ecommerce-tracking-pixel-auditor"
        }
    }
}
```

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/c9TrIiMm5cr8SLRKH/builds/6hTbdmrTwI5UrJu27/openapi.json
