# Ad Tag & Pixel Checker: Google Ads, GA4, GTM, Meta (`impenetrable_sesame/ad-tracking-tag-pixel-checker`) Actor

Check any landing page for Google Ads, GA4, Google Tag Manager, Meta Pixel, TikTok, LinkedIn, Microsoft Ads (UET) and consent tags. Get the tag IDs plus plain-English PPC tracking issues. Bulk URLs, no login.

- **URL**: https://apify.com/impenetrable_sesame/ad-tracking-tag-pixel-checker.md
- **Developed by:** [Degeore Marketing](https://apify.com/impenetrable_sesame) (community)
- **Categories:** Marketing, SEO tools, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 Tag & Pixel Checker: Google Ads, GA4, GTM, Meta

Find out in seconds whether your landing pages actually load the tags your ad campaigns depend on. Paste a list of URLs and get back every ad and analytics tag on each page, the tag IDs, and **plain-English tracking problems a PPC manager would flag**.

Built for PPC managers, agencies, and site owners who need to check conversion tracking on many pages without opening DevTools on each one.

### What it detects

| Category | Tags |
|---|---|
| Google | Google Ads tag (AW- IDs and conversion labels), GA4 (G-), Google Tag Manager (GTM-), legacy Universal Analytics (UA-) |
| Paid social | Meta (Facebook) Pixel, TikTok Pixel, LinkedIn Insight Tag, Pinterest Tag, Snap Pixel, Reddit Pixel, X (Twitter) Pixel |
| Search ads | Microsoft Advertising UET (Bing Ads) |
| Behavior analytics | Microsoft Clarity, Hotjar |
| Consent | Google Consent Mode, Cookiebot, OneTrust, Usercentrics, Termly, iubenda, Complianz, Osano |

### Issues it flags

- No Google Ads tag or GTM container, so conversions and remarketing are probably not tracked
- GA4 missing
- **Duplicate GA4 IDs** or **several GTM containers** on one page (a common cause of double-counted conversions)
- Leftover Universal Analytics code
- Ad tags firing with **no consent banner or Consent Mode** signal (matters for EEA/UK traffic)
- Page served over HTTP

### How to use

1. Add your URLs (landing pages, product pages, thank-you pages).
2. Keep **Render JavaScript** on (the default) so tags loaded through Google Tag Manager are caught. Turn it off for a fast HTML-only scan.
3. Run, then download results as JSON, CSV, or Excel, or call the Actor via the API, Make, Zapier, or n8n.

#### Input example

```json
{
  "startUrls": [{ "url": "https://www.shopify.com" }, { "url": "https://www.allbirds.com" }],
  "renderJs": true
}
```

#### Output example (real run, trimmed)

```json
{
  "url": "https://www.shopify.com",
  "httpStatus": 200,
  "mode": "rendered",
  "tagsFound": ["ga4", "google_ads", "gtm", "linkedin_insight", "meta_pixel"],
  "tagIds": { "google_ads": ["AW-827000963"], "ga4": ["G-B7X5MKCR35", "G-W6NECZNE63"], "gtm": ["GTM-TZ26LP8"] },
  "consentTools": [],
  "issues": [
    "Multiple GA4 IDs on one page (G-B7X5MKCR35, G-W6NECZNE63): possible double counting.",
    "Ad/analytics tags present but no consent banner or Google Consent Mode signal detected (matters for EEA/UK traffic)."
  ]
}
```

### Pricing

Pay per event: **$0.005 per URL checked** (1,000 URLs = $5) plus **$0.001 per GB of memory per run** (default 1 GB = $0.001). URLs that fail to load are **not charged** and are listed in the `FAILED_URLS` record of the run's key-value store. Set a maximum charge per run in the run options to cap spend.

### FAQ

**Does it log in to Google Ads, GA4, or Meta?** No. It only loads the public pages you list, as a normal browser visitor would.

**Why might a tag be missing in HTML-only mode?** Tags loaded through Google Tag Manager only show up after JavaScript runs. Use `renderJs: true`.

**Can it check whether conversions actually fire?** It checks that the tags load on the page. Firing on a button click or form submit is out of scope for v0.1.

# Actor input Schema

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

Landing pages or sites you want checked.

## `renderJs` (type: `boolean`):

Slower, but sees tags that load via Tag Manager.

## `waitMs` (type: `integer`):

Extra time to wait after the page loads, so late-firing tags or lazy content appear.

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

How many pages to process in parallel.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.shopify.com"
    }
  ],
  "renderJs": true,
  "waitMs": 3000,
  "maxConcurrency": 5
}
```

# Actor output Schema

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

All result items in the default dataset (JSON; use format=csv or xlsx to export).

# 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.shopify.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("impenetrable_sesame/ad-tracking-tag-pixel-checker").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.shopify.com" }] }

# Run the Actor and wait for it to finish
run = client.actor("impenetrable_sesame/ad-tracking-tag-pixel-checker").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.shopify.com"
    }
  ]
}' |
apify call impenetrable_sesame/ad-tracking-tag-pixel-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,impenetrable_sesame/ad-tracking-tag-pixel-checker"
        }
    }
}
```

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/UYyEdwE1knM2oqve3/builds/VmbUJ7LYc2Kllg1Mq/openapi.json
