# Tracking Stack Scanner — Ads & Call Tracking Gap Leads (`growth-installations/tracking-stack-scanner`) Actor

Scan local business websites or a Google Maps search for Google Ads, Meta, TikTok and Bing tags, GTM, GA4 events, call tracking and chat. Flags businesses paying for ads without call or conversion tracking, with a lead score and pitch lines.

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

## Pricing

from $50.00 / 1,000 website scanneds

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 Stack Scanner — Ads & Call Tracking Gap Leads

Find local businesses that **pay for ads but can't see what the ads produce**. Give it a list of websites or a
Google Maps search (e.g. "hvac contractor" in "Richmond, VA"). For every site it:

1. Loads the homepage and finds every Google Tag Manager (`GTM-`), Google tag (`G-`, `AW-`) and Universal Analytics (`UA-`) ID.
2. Downloads the **public** GTM container (`googletagmanager.com/gtm.js?id=…`) and reads the tags inside it: Google Ads
   conversion tags, call conversions, remarketing, GA4 events, click-to-call and form triggers, LinkedIn/Bing templates.
3. Detects ad pixels (Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, Nextdoor), call tracking
   (CallRail, WhatConverts, CallTrackingMetrics, Invoca, Marchex…), chat widgets (Podium, Intercom, Drift, Tidio, LiveChat…)
   and analytics.
4. Flags tracking gaps, scores each business 0–100 and writes two ready-to-send openers: one for **PPC agencies**,
   one for **answering services**.

### Flags

| Flag | Meaning | Weight |
|---|---|---|
| `ads_no_call_tracking` | Runs paid ads but nothing tracks phone calls | 35 |
| `google_ads_no_conversions` | Google Ads tag with zero conversion tags/events | 30 |
| `paid_social_no_events` | Meta/TikTok/LinkedIn pixel fires page views only | 15 |
| `ua_only` | Still on Universal Analytics, no GA4 | 10 |
| `no_analytics` | No analytics or tag manager at all | 10 |
| `no_chat` | No chat widget | 10 |
| `no_form_tracking` | No form-submit tracking | 5 |

+10 when the business runs any ads (they already spend money). A row is a **lead** when it runs ads and has one of the
first three gaps.

### Input

```json
{ "mapsQuery": "hvac contractor", "location": "Richmond, VA", "maxPlaces": 50 }
```

or

```json
{ "domains": ["cmshvac.com", "automaticclimate.com"], "onlyLeads": true }
```

### Pricing (pay per event)

| Event | Price |
|---|---|
| Scan run (once per run) | $0.50 |
| Website scanned | $0.05 |
| Tracking-gap lead (extra, only flagged businesses) | $0.10 |

100 Maps businesses with 30 flagged leads = $0.50 + $5.00 + $3.00 = **$8.50**. The run never goes over your
"max charge per run": it scans only as many sites as the cap covers, and stops with a clear message if the cap can't
cover the run fee plus one site.

### Sample output (real run, Richmond VA HVAC, Nov 2026)

```json
{"business": "Automatic Climate HVAC & Air Conditioning", "domain": "automaticclimate.com", "phone": "(804) 234-4330",
 "lead": true, "score": 75, "headline": "Pays for Google Ads and Meta but can't see which ads make the phone ring",
 "ad_platforms": ["Google Ads", "Meta"], "call_tracking": [], "google_ads_conversion_tags": 1,
 "chat_widgets": [], "analytics": ["GA4", "Microsoft Clarity"],
 "pitch_ppc": "Looked at Automatic Climate HVAC & Air Conditioning's tag setup: you're running Google Ads and Meta, but no call tracking is installed, so every phone lead shows up as 'no conversion' and the ad platform optimizes toward the wrong clicks. Want a 10-minute fix plan?"}
{"business": "callrail.com", "lead": false, "score": 20, "headline": "Tracking looks solid",
 "ad_platforms": ["Google Ads", "LinkedIn", "Meta", "Microsoft (Bing) Ads"], "call_tracking": ["CallRail"],
 "google_ads_conversion_tags": 2, "conversion_events": ["Partner Form Submissions", "Trial Signup", "..."]}
```

### Notes

- Only public pages are read: the homepage and the public GTM/Google tag JavaScript. No logins, no form fills.
- Tags injected only after cookie consent or on inner pages can be missed; treat a lead as "worth a look", then verify.
- CLI: `python cli.py --domains cmshvac.com callrail.com --out runs/leads.csv`

# Actor input Schema

## `domains` (type: `array`):

Websites to scan, e.g. cmshvac.com. Leave empty to use a Google Maps search instead.

## `mapsQuery` (type: `string`):

Find businesses on Google Maps and scan their websites, e.g. "hvac contractor".

## `location` (type: `string`):

City or area for the Maps search, e.g. "Richmond, VA".

## `maxPlaces` (type: `integer`):

How many Maps businesses (with a website) to scan.

## `maxSites` (type: `integer`):

Hard cap on sites scanned this run. The run also stops at your max charge per run.

## `onlyLeads` (type: `boolean`):

Output only businesses with a tracking gap (every scanned site is still billed as scanned).

## Actor input object example

```json
{
  "domains": [
    "callrail.com",
    "cmshvac.com"
  ],
  "mapsQuery": "",
  "location": "",
  "maxPlaces": 50,
  "maxSites": 500,
  "onlyLeads": false
}
```

# Actor output Schema

## `leads` (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 = {
    "domains": [
        "callrail.com",
        "cmshvac.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("growth-installations/tracking-stack-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 = { "domains": [
        "callrail.com",
        "cmshvac.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("growth-installations/tracking-stack-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 '{
  "domains": [
    "callrail.com",
    "cmshvac.com"
  ]
}' |
apify call growth-installations/tracking-stack-scanner --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,growth-installations/tracking-stack-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/KDr4A3IRmyJDBwah0/builds/yHsUlHC4a9cBghUhg/openapi.json
