Ad Pixel & GTM Tag Detector — Meta, Google Ads, TikTok & GA4 avatar

Ad Pixel & GTM Tag Detector — Meta, Google Ads, TikTok & GA4

Pricing

from $1.00 / 1,000 domain scanneds

Go to Apify Store
Ad Pixel & GTM Tag Detector — Meta, Google Ads, TikTok & GA4

Ad Pixel & GTM Tag Detector — Meta, Google Ads, TikTok & GA4

[$1.50/1K domains, $0 start fee] Detect Meta Pixel, Google Ads (AW-), GTM containers, TikTok, LinkedIn & Reddit ad pixels plus /ads.txt networks without a headless browser.

Pricing

from $1.00 / 1,000 domain scanneds

Rating

0.0

(0)

Developer

AdPulse Labs

AdPulse Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissions

Share

GTM & Ad Pixel Detector (Meta, Google Ads, TikTok, LinkedIn + MCP)

Statically unpack Google Tag Manager (gtm.js) containers and HTML to extract Meta Pixel, Google Ads (AW-/GT-), GA4, TikTok, LinkedIn, Bing UET, Reddit, Pinterest, X, and HubSpot IDs — plus DNS SaaS verification and explicit CRM scanConfidence scoring.

Built as a stateless, zero-browser Go binary (256 MB RAM). Supports Apify Console batch runs, Scheduling, Webhooks, Apify API, Standby REST, and Streamable HTTP MCP (/mcp).


What Is GTM & Ad Pixel Detector (Meta, Google Ads, TikTok, LinkedIn + MCP)?

Most ecommerce and SaaS sites hide ad pixels inside Google Tag Manager containers and block them behind EU consent banners. Instead of launching heavy Chromium browsers, this Go Actor downloads gtm.js, decodes its internal "macros" and "tags" JSON arrays statically, skips __paused tags, resolves ["macro", N] constant pixel IDs, and falls back to DNS (MX/TXT/SPF/_dmarc) when sites return WAF 403.

What Data Can You Extract?

  • Exact ad pixel & tag IDs: gtmContainerIds, googleAdsIds (AW-, GT-), ga4MeasurementIds (G-), metaPixelIds, linkedinPartnerIds, tiktokPixelIds, bingUetIds, otherPixelIds (reddit, pinterest, x_twitter, snapchat, clarity, hotjar), and hubspotPortalId.
  • Explicit CRM scan confidence (v1.2): htmlInspected, scanConfidence (high/medium/none), scanConfidenceScore (0.00–1.00), scanCoverageNote (distinguishes full HTTP+DNS scans from DNS-only WAF-403 fallbacks), and scannedAt.
  • 70+ DNS-verified enterprise SaaS: Detects Stripe, OpenAI, Anthropic, Slack, Google Workspace, Microsoft 365, HubSpot, Cursor, and DMARC posture even behind Cloudflare/Akamai 403.

How to Use GTM & Ad Pixel Detector (Meta, Google Ads, TikTok, LinkedIn + MCP) (Step-by-Step Tutorial)

  1. Click Start with the prefilled targets (klaviyo.com, shopify.com, hubspot.com, gymshark.com) or enter any list of domains, URLs, or B2B emails.
  2. Keep unpackGtm: true and checkDns: true, and optionally enable onlyWithAdPixels: true so you only pay for active paid-media spenders.
  3. Click Start — runs in seconds on 256 MB RAM using single-pass Aho-Corasick scanning with zero browsers or proxies.
  4. Export CSV, JSON, or Excel, or wire into Clay, HubSpot, n8n, Make, Zapier, Apify API, or MCP (/mcp).

Input & Output Examples

Input Example (JSON)

{
"domains": ["klaviyo.com", "shopify.com", "hubspot.com"],
"unpackGtm": true,
"checkDns": true,
"onlyWithAdPixels": false
}

Sample JSON Output

{
"domain": "klaviyo.com",
"htmlInspected": true,
"scanConfidence": "high",
"scanConfidenceScore": 0.98,
"scanCoverageNote": "full_http_and_dns",
"gtmContainerIds": ["GTM-M28G2G"],
"adPlatforms": ["Google Ads", "Meta Pixel", "LinkedIn Insight Tag", "TikTok Pixel", "Reddit Pixel"],
"emailProvider": "Google Workspace"
}

API, Python, cURL & MCP Integration

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("spiky_closet/gtm-ad-pixel-detector").call(run_input={
"domains": ["klaviyo.com", "shopify.com", "hubspot.com"],
"unpackGtm": True,
"checkDns": True,
"onlyWithAdPixels": False
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

cURL (Synchronous JSON)

curl -X POST "https://api.apify.com/v2/acts/spiky_closet~gtm-ad-pixel-detector/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "domains": ["klaviyo.com", "shopify.com", "hubspot.com"], "unpackGtm": true, "checkDns": true, "onlyWithAdPixels": false }'

AI Agents (Streamable HTTP MCP)

Connect Claude Desktop, Cursor, Windsurf, or n8n AI Agents directly to: https://spiky-closet--gtm-ad-pixel-detector.apify.actor/mcp (Authorization: Bearer YOUR_APIFY_TOKEN)


How Much Does It Cost?

Pay-Per-Event ($0 start fee) with automatic Bronze, Silver, Gold, Platinum, and Diamond volume discounts. Your $5/mo Apify Free credit scans thousands of domains per month for $0. Domains filtered out by onlyWithAdPixels: true incur $0.


Frequently Asked Questions

Does this Actor require proxies or headless browsers?
No. It runs pure Go HTTP/JSON/DNS workers inside 256 MB RAM without Playwright, Puppeteer, or residential proxy costs.

Can I connect this to n8n, Make, Zapier, or Clay?
Yes. Use the official Apify integration node in n8n/Make/Zapier, call the synchronous REST endpoint from Clay HTTP Enrichment, or attach /mcp to AI agents.

What happens if a domain or target returns no results?
Unreachable, empty, or filtered-out targets are never charged ($0).


Explore other fast, browserless Go data & MCP Actors built on the same low-memory architecture: