# Website Conversion Audit: Missing Forms, CTAs & Reviews (`datacolada/lead-leak-audit`) Actor

Website conversion audit (lead leak audit) for local-business sites: missing forms, no click-to-call, generic contact instead of a quote CTA, empty reviews pages, leftover template copy, HTTP that does not upgrade, thin privacy policies, and broken links. A 0-100 leak score and outreach line.

- **URL**: https://apify.com/datacolada/lead-leak-audit.md
- **Developed by:** [Cyd Dunscombe](https://apify.com/datacolada) (community)
- **Categories:** Lead generation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 website auditeds

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

## Website Conversion Audit: Missing Forms, CTAs & Reviews

A **website conversion audit** (lead leak audit) for local-business sites. Find **conversion holes** that cause websites to lose calls and form fills. This Actor is HTTP-first: it fetches a short set of public pages (home, plus contact, about, services, or booking/quote pages when they are linked or at common paths) and writes one scored card per website.

Agencies use the `outreachSummary` line as a paste-ready talking point (“there is no click-to-call number and no contact form”) and the shared `recordId` to hand the list to Website Contact Finder and Lead Deduplicator.

This is **not** a Lighthouse report, a legal ADA/WCAG audit, or a contact scraper. It does **not** submit forms, and it does **not** return harvested email addresses or phone numbers.

### Works well with

| Actor | How they connect |
| --- | --- |
| [compass/crawler-google-places](https://apify.com/compass/crawler-google-places) | Pass that Actor's dataset as `datasetId`. This audit reads the `website` field only. Google Maps page URLs are skipped. |
| [datacolada/website-contact-finder](https://apify.com/datacolada/website-contact-finder) | Same `recordId` for the domain. Use Contact Finder *after* this audit when you want the owner's emails or phones — this Actor only records whether a click-to-call link or visible email is present. |
| [datacolada/lead-deduplicator](https://apify.com/datacolada/lead-deduplicator) | Merge on `recordId` with Maps and Contact Finder rows. |
| [datacolada/email-list-cleaner](https://apify.com/datacolada/email-list-cleaner) | After Contact Finder, if you want to check address quality. |
| [datacolada/store-checker](https://apify.com/datacolada/store-checker) | Check whether the same websites are live Shopify or WooCommerce stores. Same `recordId`. |
| [datacolada/review-gap-analyzer](https://apify.com/datacolada/review-gap-analyzer) | If you have a Compass reviews dataset, add unanswered-review gaps for the same businesses. |
| [datacolada/hiring-signal-tracker](https://apify.com/datacolada/hiring-signal-tracker) | See whether those businesses are hiring. Same `recordId`. |

### What it checks

- HTTPS (including expired or invalid certificates)
- Mobile viewport tag on the landing page
- Click-to-call (`tel:`) links
- Visible email (including Cloudflare-obfuscated addresses). Presence only — addresses are not written to the dataset
- Contact form or known form widget (Formspree, HubSpot, Typeform, Jotform, Contact Form 7, and similar). Search and newsletter forms are ignored. Forms are never submitted
- Booking widget (Calendly, Acuity, cal.com, OpenTable, and similar) or a clear call-to-action
- Quote, estimate, or booking CTA — a site that promises free estimates or looks like a service business is flagged when it only has a generic “Contact Us” form
- Reviews and social proof — a reviews or testimonials page with no published reviews (only a “leave a review” form) is flagged. Review widgets, AggregateRating schema, and visible testimonials count as proof. If no reviews page is present, missing widgets are noted as a weaker, info-only signal because many widgets render only in a browser
- Leftover template or placeholder copy (lorem ipsum, “your company name here,” and similar). A conservative check also notes when a services page emphasizes completely different services than the homepage
- HTTP-to-HTTPS upgrade — `http://` on both the bare domain and the www host should redirect to HTTPS. 5xx responses or an address that stays on HTTP are flagged. This is separate from the site already being served on HTTPS
- Linked privacy policy pages that are blank or nearly empty. Form consent text that also lets a third-party vendor contact visitors (for example by text or autodialer) is noted at low severity
- Broken links on the key pages checked (same-site first)
- Dead social profile links (Facebook, Instagram, X, LinkedIn, YouTube, TikTok, Yelp, Pinterest). Bot-blocked profiles are marked unknown, not dead
- Slow first byte (TTFB bands aligned with Google's 800 ms / 1,800 ms thresholds). This is a datacenter measurement, not a Lighthouse lab test or Core Web Vitals field data
- Third-party script inventory — lists external `<script src>` tags and known inline loaders (for example Google Tag Manager, Optimizely, Hotjar, Meta Pixel, and chat widgets) found in the public HTML already fetched. Scripts are grouped by vendor and domain, with a category (tag manager, A/B testing, analytics, ads pixel, chat, payments, or other). Pages where those scripts run alongside a contact, quote, or payment form are noted. This is an inventory and a suggestion to review or remove unused scripts, not a security scan or a claim that a site is compromised. No extra requests are made for this check

### Inputs

- `startUrls` — websites or domains, one per line. `https://` is added if missing.
- `datasetId` — optional Apify dataset (read permission), for example Contact Finder or Compass Places. Uses the `website` field by default (`urlField` can override). Google Maps page URLs are skipped.
- `maxPagesPerSite` — home plus a few key pages (default 4, maximum 8). This is not a full-site crawl.
- `maxLinksPerSite` — cap on unique http(s) links tested for broken status (default 25). Social profile links are always checked separately.
- `respectRobotsTxt` — default on.
- `generateReport` — default on. Saves a one-page PDF (and HTML) report per website to the run's key-value store and adds a `reportUrl` on the result row. Turn this off if you only want the dataset.
- `preparedBy` — optional footer line on the PDF, for example your name or agency. Leave blank for no attribution. Do not put a phone number or email here.

### Output (one row per website)

`companyName`, `website`, `domain`, `recordId`, `leadLeakScore` (0–100, **higher means more leakage**), booleans for HTTPS, viewport, click-to-call, visible email, contact form, booking/CTA, quote/booking CTA, social proof, and HTTP-to-HTTPS upgrade, `ttfbMs` / `loadRating`, `brokenLinkCount`, `deadSocialCount`, `topIssues`, `outreachSummary`, a structured `issues` list, and `reportUrl` (plus `reportHtmlUrl`) when `generateReport` is on. Each row also includes `thirdPartyScripts` (an array of `{ vendor, domain, category, pages, onFormPage }`), `scriptsOnFormPages` (how many of those entries also appear on a contact, quote, or payment form page), and `scriptInventorySummary` (a short plain-English inventory). The one-page PDF adds an “Outside code on your site” section when any outside scripts were found.

`recordId` is the UUIDv5 of `domain:<registrable domain>` under the shared Datacolada namespace, the same value Website Contact Finder and Lead Deduplicator write.

#### One-page PDF report

When `generateReport` is on (the default), each website also gets a polished one-page PDF saved in the run's key-value store. The report is meant to hand to a business owner: the leak score (0 is best) with a simple color gauge, a one-line summary, a “what's working” checklist, and prioritized fixes in plain English with a short note on why each one matters. When outside scripts were found in the public HTML, a short “Outside code on your site” inventory is included, with a suggestion to ask a web person to review or remove unused scripts. It does not include email addresses or phone numbers, and it does not claim to be a security audit. Optional `preparedBy` adds a “Prepared by …” line in the footer. The same HTML used to render the PDF is stored alongside it.

For manual delivery (for example a Fiverr order where you want to edit the business name or fix wording), use the local CLI:

```bash
node scripts/generate-report.js --in row.json --out report.pdf \
  --name "Business Name" --prepared-by "Cyd Dunscombe" --png report.png
```

`--fixes fixes.json` replaces the auto-generated fix list with a JSON array of `{ "title", "why" }` objects.

#### Lead-leak score (0–100)

A simple weighted score for ranking outreach, not a vendor ranking or a compliance grade:

- 18 — no HTTPS, or a broken certificate
- 18 — no contact form (waived when click-to-call, a booking widget, or another CTA is present)
- 14 — no click-to-call number
- 12 — broken key pages or several broken links
- 10 — missing mobile viewport on the landing page
- 10 — promised estimate/quote (or a service business) with only a generic contact path
- 8 — no booking widget, form, click-to-call, or clear CTA at all (not added on top of the quote-CTA gap)
- 8 — a reviews or testimonials page with no published reviews
- 8 — poor TTFB (half weight for “needs improvement”)
- 8 — an HTTP address that does not redirect to HTTPS, or returns an error (reduced slightly when the page stays on HTTP but does not 5xx)
- 6 — no visible email
- 6 — confirmed-dead social profile links
- 4 — leftover placeholder/lorem copy (half weight for milder template phrasing or a services-page mismatch)
- 3 — a linked privacy policy that is blank or nearly empty
- 2 — form consent text that also allows a third-party vendor to contact visitors

Outside scripts are listed in the dataset and on the PDF as an informational inventory. They do not change the leak score.

When the public HTML looks like a JavaScript app, form / phone / email penalties are discounted and `confidence` is set to `low`, because this Actor does not launch a browser.

### What it does not do

- It does **not** run Lighthouse, axe-core, or a real-user Chrome UX Report test.
- It does **not** perform vulnerability testing or guarantee that a site is safe. The third-party script list is an inventory of what the public HTML already includes, not a finding of compromise.
- It does **not** market or produce a legal accessibility (ADA/WCAG) audit. Automated checks catch only a fraction of accessibility issues; this listing does not claim otherwise.
- It does **not** submit contact forms or create accounts.
- It does **not** extract or return email addresses or phone numbers. Use Website Contact Finder for that.
- JavaScript-only sites may under-count forms and click-to-call links. Those rows are flagged rather than scored as if the holes were confirmed.
- Bot-protection or “please wait” pages are reported as blocked, not as missing forms or click-to-call. A manual look is needed.
- If the page content clearly does not belong to the business (for example a language or site swap), the outreach line says so instead of inventing conversion holes.
- Social networks often block automated visits (especially Facebook). A blocked check is not reported as a dead profile.
- Load times are measured from a datacenter, not from a visitor's phone, and are not Core Web Vitals field data.
- If the requested host fails (for example a bare domain that redirects to HTTP and 500s) but `https://www.` works, the audit uses the working address and notes the failed one. Separately, `http://` on the bare domain and on www is probed for a redirect to HTTPS even when the audit itself started on HTTPS.
- Template-copy and services-page mismatch checks are conservative, to avoid flagging ordinary marketing language.
- Missing review widgets on sites with no reviews page are not scored, because many widgets only render in a browser.

### Example input and output

```json
{ "startUrls": ["https://www.example-cleaners.com"] }
```

A typical row includes `leadLeakScore` (0–100, higher means more leakage), booleans for HTTPS, click-to-call, contact form, quote/booking CTA and social proof, `topIssues`, a paste-ready `outreachSummary`, and the shared `recordId`. It does not write email addresses or phone numbers.

### FAQ

**Is this a Lighthouse or ADA audit?** No. It is a conversion / lead-leak check for local-business websites, not a Lighthouse report or a legal WCAG/ADA audit. For lab Core Web Vitals, SEO meta tags, broken links and axe-core accessibility on a single page, see [Website SEO Audit (Site QA)](https://apify.com/datacolada/site-qa).

**Does it extract emails or phones?** No. It only records whether a click-to-call link or visible email is present. Use [Website Contact Finder](https://apify.com/datacolada/website-contact-finder) to collect contacts.

**Why was a site scored with low confidence or marked blocked?** JavaScript-only sites can under-count forms and click-to-call, so penalties are discounted. Bot-protection pages are reported as blocked and need a manual look.

### Pricing

**$0.015 per website audited** (`site-audited`, **$15 per 1,000 sites**), with no start fee. Skipped inputs (no website, a Google Maps page URL, an invalid URL, or a domain that does not resolve) are free. A site that is down, times out, has a broken certificate, or shows a bot-protection page is a completed audit and would be charged, because that finding is useful. Platform usage is separate and usually a fraction of a cent per site because runs are HTTP-only.

### Development

```bash
npm install
npm test
node scripts/generate-report.js --in test/fixtures/rockwood-row.json --out /tmp/report.pdf --name "Rockwood Cleaning Company"
```

# Actor input Schema

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

Company websites or domains to audit, one per line, e.g. "acme.com" or "https://www.acme.com/contact". 'https://' is added if missing. Each website becomes one result row. Optional if you set an Apify dataset ID below.

## `datasetId` (type: `string`):

Optional. Read websites from an existing Apify dataset, for example Website Contact Finder or compass/crawler-google-places. Pick a dataset you have access to, or paste its ID. Items should have a website field (see Website field below). You can use this instead of, or together with, the Websites list. Rows with no website, and Google Maps page URLs, are skipped.

## `urlField` (type: `string`):

Field to use as the company website when reading a dataset or object items. If empty, tries website, then url, then domain, in that order. For Google Maps scraper results leave this empty (or set it to website). Do not set it to url — on Maps results that is the Google Maps page, not the company site.

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

Upper limit on websites audited in this run. Default 200.

## `maxPagesPerSite` (type: `integer`):

How many pages to fetch on each site (home plus contact, about, services, booking/quote pages when they are linked or at common paths). Default 4. This actor does not crawl the whole site.

## `maxLinksPerSite` (type: `integer`):

Cap on unique http(s) links tested for broken status, same-site links first. Social profile links are always checked separately and do not count against this cap. Default 25. Use 0 to skip non-social link checks.

## `checkExternalLinks` (type: `boolean`):

Also test links to other domains (besides social profiles, which are always checked). Default off, to keep runs cheap. Same-site links on key pages are always tested up to the cap.

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

Skip pages the website's robots.txt disallows. Default true (recommended).

## `requestTimeoutSecs` (type: `integer`):

Give up on a page or link after this many seconds. Default 15.

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

How many websites to audit at the same time. Default 5. This actor is HTTP-first and does not launch a browser.

## `generateReport` (type: `boolean`):

Save a one-page PDF (and HTML) report per website to this run's key-value store, and add a reportUrl on each result row. The report lists the leak score, what's working, and the top fixes in plain English. Default on. Existing score and issue fields are unchanged. Reports are generated one at a time so a 512 MB run stays within memory.

## `preparedBy` (type: `string`):

Optional footer line, for example your name or agency ("Prepared by …"). Leave blank for no attribution. Do not put a phone number or email here — those are stripped.

## Actor input object example

```json
{
  "startUrls": [
    "monmouthcoffee.co.uk",
    "katzsdelicatessen.com",
    "russanddaughters.com"
  ],
  "urlField": "",
  "maxSites": 200,
  "maxPagesPerSite": 4,
  "maxLinksPerSite": 25,
  "checkExternalLinks": false,
  "respectRobotsTxt": true,
  "requestTimeoutSecs": 15,
  "maxConcurrency": 5,
  "generateReport": true,
  "preparedBy": ""
}
```

# Actor output Schema

## `sites` (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 = {
    "startUrls": [
        "monmouthcoffee.co.uk",
        "katzsdelicatessen.com",
        "russanddaughters.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacolada/lead-leak-audit").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": [
        "monmouthcoffee.co.uk",
        "katzsdelicatessen.com",
        "russanddaughters.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datacolada/lead-leak-audit").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": [
    "monmouthcoffee.co.uk",
    "katzsdelicatessen.com",
    "russanddaughters.com"
  ]
}' |
apify call datacolada/lead-leak-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacolada/lead-leak-audit"
        }
    }
}
```

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/B4qedmbWxV75z8mUD/builds/Ifg9L1VMZ9h4evoKb/openapi.json
