# SEO Audit, Ad Pixel & AI Search GEO (llms.txt) Qualifier (`enrichstack/agency-seo-pixel-geo-qualifier`) Actor

Bulk website SEO audit, AI search GEO audit (/llms.txt checker with soft-404 rejection & GPTBot/ClaudeBot rules), ad pixels, DMARC checker & cold-outreach pitch hooks. Flat $8/1K, $0 on dead domains.

- **URL**: https://apify.com/enrichstack/agency-seo-pixel-geo-qualifier.md
- **Developed by:** [SP SWE Services Ltd](https://apify.com/enrichstack) (community)
- **Categories:** SEO tools, Lead generation, Automation
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 domain seo, pixel & geo audits

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/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

## Technical SEO, DNS DMARC & AI-Crawler Policy Auditor

> **Built by [EnrichStack (SP SWE Services Ltd)](https://spswe.co.uk)** · Pure HTTP + native DNS · **Flat `$8.00 / 1K` live domains** · **Zero result fees on unreachable, DNS-failed, HTTP-error, or blocked-challenge domains** *(Apify platform actor-start fee applies per run)* · [Free MIT n8n Workflow Templates](https://github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates)

Bulk-audit websites with **deterministic technical checks** in a single pure-HTTP + native DNS pass:

1. **Domain-level DNS SPF & DMARC enforcement** (with RFC 7489 organizational-domain DMARC fallback and explicit lookup error reporting).
2. **`robots.txt` AI crawler policy audit** (`GPTBot`, `OAI-SearchBot`, `ClaudeBot`, `PerplexityBot`, `Google-Extended`), properly handling adjacent `User-agent` blocks, `Disallow: /*`, and unknown/HTML `robots.txt` responses.
3. **Factual `/llms.txt` & `/llms-full.txt` file presence check** (`present`, `empty`, `soft_404_html`, or `missing`).
4. **Static-HTML technical SEO & XML sitemap discovery** (HTTPS, TTFB, `<title>`, `<meta name="description">`, `<h1>`, canonical, viewport, JSON-LD entity schema, and sitemap discovery via `robots.txt` `Sitemap:` directives, `/sitemap.xml`, and `/sitemap_index.xml`).
5. **Static-HTML marketing/analytics tag inspection** (ad pixels, GA4/UA/GTM/Plausible/PostHog, and chat/CRM script loaders).

***

### Scope & Accuracy Disclosures

- **Static-HTML inspection only:** Fetches initial HTML without executing JavaScript. Pixels, analytics, or chat widgets loaded solely through Google Tag Manager (GTM) or client-side bundles will not appear in static HTML. This Actor **never** asserts that a site lacks analytics or chat when dynamic tag loaders may be present.
- **Factual `/llms.txt` reporting:** `/llms.txt` is reported strictly as a factual file check (`llmsTxtStatus`: `present`, `empty`, `soft_404_html`, or `missing`). Missing `/llms.txt` does **not** dominate scoring or qualify a lead on its own.
- **Domain-level DNS checks (not SMTP):** Verifies published MX, SPF, and DMARC records only.

***

### Transparent Pay-Per-Event Pricing

One flat event per live domain audited. **Zero result fees** on unreachable, DNS-failed, HTTP-error, empty-body, or blocked-challenge domains (`isLive: false`). Apify's platform `apify-actor-start` fee applies once per run.

| Event Name | Price per Event | Price per 1,000 Live Domains | When Charged |
| :--- | :--- | :--- | :--- |
| `domain-audited` *(Primary)* | **$0.008** | **$8.00 / 1K** | Once per live domain audited (SEO + sitemap + `robots.txt` AI-bot policy + `/llms.txt` check + static tags + DNS SPF/DMARC) |
| `apify-actor-start` *(Platform)* | **$0.00005** | One-time per run | Charged once per GB on Actor start by Apify |
| **Unreachable / DNS-failed / HTTP-error / blocked-challenge domains** | **$0.00** | **$0.00** | **Zero result events emitted** (`isLive: false`, explicit `statusReason`) |

***

### Quick Start: Copy-Paste JSON Input

```json
{
  "domains": [
    "stripe.com",
    "anthropic.com",
    "example.org"
  ],
  "agencyVerticalPreset": "seo_geo",
  "checkGeoAiReadiness": true,
  "checkAdPixelsAndWidgets": true,
  "checkEmailAuth": true,
  "concurrency": 10,
  "timeoutSecs": 12
}
```

#### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `domains` | `string[]` | *required* | Non-empty list of prospect websites or bare domains (missing/empty arrays fail cleanly — never silently billed against demo domains). |
| `agencyVerticalPreset` | `enum` | `"general"` | Weighting preset for `pitchScore` and `topPitchHook`: `"general"`, `"seo_geo"`, `"ppc_ads"`, `"web_design"`, or `"cold_email_deliverability"`. |
| `checkGeoAiReadiness` | `boolean` | `true` | Audits `robots.txt` AI crawler rules (`parsed` / `missing` / `unknown`), JSON-LD entity schema, and factual `/llms.txt` & `/llms-full.txt` file presence. |
| `checkAdPixelsAndWidgets` | `boolean` | `true` | Inspects static initial HTML for ad pixels, analytics tags, and chat/booking/CRM loaders. |
| `checkEmailAuth` | `boolean` | `true` | Runs live domain-level DNS SPF, DMARC policy (with organizational-domain fallback), and mail provider checks. |
| `concurrency` | `integer` (1–20) | `10` | Parallel domains audited simultaneously (clamped to `1..20`). |
| `timeoutSecs` | `integer` (5–30) | `12` | Per-domain homepage HTTP timeout. |

***

### Copy-Paste JSON Output Example

```json
{
  "domain": "northgate-agency.co.uk",
  "finalUrl": "https://www.northgate-agency.co.uk/",
  "isLive": true,
  "statusReason": "ok",
  "httpStatus": 200,
  "httpsEnforced": true,
  "ttfbMs": 284,
  "htmlSizeKb": 78.4,
  "cms": "wordpress",
  "seoScore": 91,
  "geoAiScore": 60,
  "pitchScore": 45,
  "seoChecks": {
    "hasTitle": true,
    "titleLength": 54,
    "hasMetaDescription": true,
    "metaDescriptionLength": 142,
    "h1Count": 2,
    "hasCanonical": true,
    "hasViewport": true,
    "hasSitemapXml": true,
    "sitemapUrl": "https://www.northgate-agency.co.uk/sitemap_index.xml",
    "jsonLdTypes": ["WebSite", "Organization"]
  },
  "geoAiChecks": {
    "llmsTxtStatus": "soft_404_html",
    "llmsFullTxtStatus": "missing",
    "hasLlmsTxt": false,
    "hasLlmsFullTxt": false,
    "llmsTxtSoft404": true,
    "robotsPolicyStatus": "parsed",
    "blockedAiBots": ["GPTBot", "ClaudeBot"],
    "allowedAiBots": ["OAI-SearchBot", "PerplexityBot", "Google-Extended"],
    "hasRichEntitySchema": true
  },
  "marketingSignals": {
    "adPixels": ["Meta Pixel", "Google Ads"],
    "isLikelySpendingOnAds": true,
    "analytics": ["Google Tag Manager", "Google Analytics 4"],
    "bookingOrChatWidgets": ["HubSpot"],
    "emailProvider": "Google Workspace",
    "hasSpf": true,
    "hasDmarc": true,
    "dmarcLookupStatus": "found",
    "dmarcPolicy": "none",
    "dmarcSourceDomain": "northgate-agency.co.uk"
  },
  "opportunityFlags": [
    "MISSING_OR_MULTIPLE_H1",
    "BLOCKS_AI_SEARCH_CRAWLERS",
    "MISSING_OR_WEAK_DMARC"
  ],
  "topPitchHook": "northgate-agency.co.uk blocks AI crawlers (GPTBot, ClaudeBot) in robots.txt.",
  "staticHtmlObservationNote": "Observed from static initial HTML, robots.txt, sitemap XML, and public DNS records only; analytics, pixels, or chat widgets loaded via GTM or client-side JavaScript may not appear in initial HTML.",
  "auditedAt": "2026-12-01T09:10:00.000Z"
}
```

***

### Standby HTTP & Sync API Usage

Standby HTTP accepts `POST /` (JSON body, up to 50 domains, max 256 KB) and `GET /health`.

```bash
curl -X POST "https://api.apify.com/v2/acts/enrichstack~agency-seo-pixel-geo-qualifier/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["stripe.com", "anthropic.com"], "agencyVerticalPreset": "seo_geo"}'
```

***

Maintained by **[SP SWE Services Ltd](https://spswe.co.uk)** · Questions: `contact@spswe.co.uk` · Free MIT n8n templates: [github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates](https://github.com/SP-SWE-SERVICES-LTD/enrichstack-n8n-templates)

# Actor input Schema

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

Required non-empty list of company websites to audit. Unreachable, DNS-failed, HTTP-error, or blocked-challenge domains emit zero result charge events (Apify platform actor-start fee applies per run).

## `agencyVerticalPreset` (type: `string`):

Tailors pitchScore weighting and topPitchHook to your agency service.

## `checkGeoAiReadiness` (type: `boolean`):

Parses robots.txt AI crawler rules (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Google-Extended), checks JSON-LD entity schema, and reports factual /llms.txt and /llms-full.txt file status (present, empty, soft_404_html, missing).

## `checkAdPixelsAndWidgets` (type: `boolean`):

Detects static-HTML ad pixels, analytics tags, and chat/booking/CRM loaders (excludes tags injected solely via GTM or client-side JS).

## `checkEmailAuth` (type: `boolean`):

Inspects live domain-level DNS SPF and DMARC records (with organizational-domain DMARC fallback) plus mail provider.

## `concurrency` (type: `integer`):

Number of domains audited concurrently (clamped to 1-20).

## `timeoutSecs` (type: `integer`):

Per-domain homepage HTTP timeout in seconds.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "anthropic.com",
    "example.org"
  ],
  "agencyVerticalPreset": "general",
  "checkGeoAiReadiness": true,
  "checkAdPixelsAndWidgets": true,
  "checkEmailAuth": true,
  "concurrency": 10,
  "timeoutSecs": 12
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `fullDataset` (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": [
        "stripe.com",
        "anthropic.com",
        "example.org"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("enrichstack/agency-seo-pixel-geo-qualifier").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": [
        "stripe.com",
        "anthropic.com",
        "example.org",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("enrichstack/agency-seo-pixel-geo-qualifier").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": [
    "stripe.com",
    "anthropic.com",
    "example.org"
  ]
}' |
apify call enrichstack/agency-seo-pixel-geo-qualifier --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,enrichstack/agency-seo-pixel-geo-qualifier"
        }
    }
}
```

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/Fbp7XHZiGly28AViE/builds/Dw7aGPW36YgGQhQnJ/openapi.json
