# Shopify SEO Audit Crawler — Store Site Audit & Broken Links (`tallyproof/store-seo-audit-crawler`) Actor

Crawl an online store from its sitemap and menus and audit every page: titles, meta descriptions, H1, canonicals, noindex in sitemap, redirects, 404s with the pages linking to them, duplicate titles, missing alt text and Product schema. Free store summary row.

- **URL**: https://apify.com/tallyproof/store-seo-audit-crawler.md
- **Developed by:** [Ethan Kerr](https://apify.com/tallyproof) (community)
- **Categories:** SEO tools, E-commerce, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 pages

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

## Shopify SEO Audit Crawler — Store Site Audit & Broken Links

Give it a store homepage. It reads the sitemap and the menus, crawls a **balanced sample** of the store (collections, products, pages, blog posts, not just the first 50 products in the sitemap), and returns one row per page with plain-English SEO findings, plus **one summary row per store** with the grade, broken pages and the pages that link to them, duplicate titles and sitemap problems.

**$5 per 1,000 pages audited.** Blocked, robots-skipped and unreachable pages are free.

Built for ecommerce. It understands Shopify and WooCommerce URL patterns, knows that `/collections/x/products/y` is supposed to canonicalise to `/products/y`, and does not report those as duplicates. Works on any public website.

### What it checks

**Per page**

- **Titles:** missing, too long (over 60 characters), too short, duplicated across the store
- **Meta descriptions:** missing or empty, too long, too short, duplicated
- **H1:** missing in the HTML, more than one
- **Canonical:** missing, more than one tag, pointing to another domain, invalid
- **Indexing:** `noindex` (meta robots or `X-Robots-Tag`), and **noindex pages listed in the sitemap**
- **Sitemap hygiene:** sitemap URLs that redirect, return 404, or canonicalise somewhere else
- **Redirects:** each hop with its status code; chains of 2+ hops flagged
- **Broken pages:** 404/410 with **up to 5 crawled pages that link to it**, so you know where to fix the link
- **Product pages without Product JSON-LD** (needed for merchant listings and product rich results), and JSON-LD that fails to parse
- **Images without alt** (`alt=""` is treated as decorative, not missing)
- Thin product, collection and article pages, missing `lang`, missing meta viewport, missing `og:image`

**Per store (summary row, free)**

Average score and A–F grade, pages audited by type, sitemap found and URLs read, broken pages with sources, duplicate title and meta description groups, noindex URLs in the sitemap, redirected URLs, issue counts by code, and why the crawl stopped.

### Input

```json
{
  "startUrls": ["https://www.deathwishcoffee.com"],
  "maxPagesPerSite": 30
}
```

| Field | Default | Notes |
|---|---|---|
| `startUrls` | — | One homepage per store. Only the same domain is crawled (www and non-www count as one). |
| `maxPagesPerSite` | 30 | Cost guard per store (max 2,000). |
| `maxSites` | 100 | Stores per run. |
| `useSitemap` | true | Reads sitemaps from robots.txt or `/sitemap.xml`, including Shopify sitemap indexes. |
| `followLinks` | true | Also follows menu, footer and grid links. |
| `maxConcurrency` | 3 | Stores in parallel. Pages of one store are always fetched one at a time. |
| `delayBetweenRequestsMs` | 1000 | Pause between requests to the same store (min 500). |
| `respectRobotsTxt` | true | Disallowed URLs are never fetched and never charged. |

Query strings are dropped from crawled links (filters, sorting and `?variant=` parameters create endless near-duplicate URLs), and carts, checkouts, account and search pages are skipped.

### Output

Page rows (`rowType: "page"`):

| Field | Meaning |
|---|---|
| `url`, `finalUrl`, `status`, `httpStatus` | `ok` and `broken` are audited; `blocked`, `skipped`, `error` are free |
| `pageType`, `source` | home / collection / product / page / blog / article / other; found via start, sitemap or link |
| `title`, `titleLength`, `metaDescription`, `metaDescriptionLength`, `h1Count`, `h1` | On-page basics |
| `canonical`, `canonicalStatus`, `noindex`, `inSitemap` | Indexing signals |
| `redirectChain`, `linkedFromCount`, `linkedFromSample` | Where it redirects, who links to it |
| `jsonLdTypes`, `imagesTotal`, `imagesMissingAlt`, `wordCount`, `internalLinkCount`, `hreflangCount` | Content and markup |
| `score`, `grade`, `findings[]` | 0–100, A–F, and `{ level, code, message }` findings |

Example finding:

```json
{ "level": "error", "code": "NOINDEX_IN_SITEMAP", "message": "Page is noindex but listed in the sitemap." }
```

Site rows (`rowType: "site"`) hold the summary described above. In the dataset, use the **Pages** and **Store summaries** views.

### Try it in one minute

The input form is prefilled with a public store, so you can click **Start** without changing anything. You get about 30 page rows and one store summary in roughly a minute. Or call it from the API (replace `YOUR_APIFY_TOKEN`):

```bash
curl -X POST "https://api.apify.com/v2/acts/tallyproof~store-seo-audit-crawler/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":["https://www.deathwishcoffee.com"],"maxPagesPerSite":30}'
```

### Pricing

Pay per event: **$5.00 per 1,000 pages audited** (`page-audited`, $0.005 each), plus Apify's standard run-start event. A 30-page store audit costs about $0.15. **Blocked, robots-skipped, timed-out and unreachable URLs are free, and so is the store summary row.** A 404 page is charged because finding it is the point.

Set a maximum cost per run in Apify Console; the Actor caps the crawl to fit it and stops cleanly.

### Limits (read before buying)

- **Raw HTML only.** No browser and no JavaScript. Headings or schema that a theme adds after page load are reported as missing, and the message says "in the HTML".
- **Sampled, not exhaustive.** With `maxPagesPerSite` below the store's size, you get a balanced sample. Broken links are found among the URLs the crawl reaches; raise the cap for a full sweep.
- No keyword rankings, backlinks or traffic data. No speed test (see the Speed Test Actor below).
- Some stores rate-limit crawlers. After 5 blocked responses in a row the crawl for that store stops, and blocked rows are free.

### Data and privacy

Public pages only. No logins, no cookies, no forms. robots.txt is respected by default and the crawler identifies itself as `TallyproofAuditBot`. **No personal data is collected or output**: no emails, phone numbers, reviews or customer content, only page-level SEO fields.

### Guides

Free how-to guides from the same publisher for acting on the results:

- [How to check GA4 is installed correctly on Shopify](https://tallyproof-ten.vercel.app/guides/how-to-check-ga4-installed-shopify/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=store-seo-crawler)
- [Study: how often Shopify stores load GA4 twice (244 storefronts)](https://tallyproof-ten.vercel.app/shopify-tracking-study/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=store-seo-crawler)

### Related

From the same publisher:

- [Shopify Speed Test — Core Web Vitals & Slow Apps Finder](https://apify.com/tallyproof/store-speed-test-apps-slowing-store): real mobile Lighthouse test with LCP, CLS and TBT ratings and the named apps that cost the most CPU.
- [Product Schema Checker — Google Merchant Listing Auditor](https://apify.com/tallyproof/product-schema-merchant-listing-auditor): deep check of Product JSON-LD on product pages for merchant listings.
- [Tracking Pixel Checker — GA4, GTM & Meta Pixel Auditor](https://apify.com/tallyproof/ecommerce-tracking-pixel-auditor): GA4, GTM, Meta pixel and Google Ads IDs, duplicate tags and Consent Mode defaults.
- [Shopify App & Theme Detector — Shopify Tech Stack Checker](https://apify.com/tallyproof/shopify-store-tech-stack-apps-detector): theme, storefront apps and Customer Events pixels.
- [Cookie Consent Checker — Consent Mode v2 & GDPR Scanner](https://apify.com/tallyproof/cookie-consent-consent-mode-checker): consent manager, Consent Mode v2 and trackers firing before consent.
- [Shopify Products Scraper — Prices, Sales, Stock & Variants](https://apify.com/tallyproof/shopify-products-price-scraper): every product and variant from any public Shopify store, with price, compare-at (sale) price, stock flag, SKU and images.
- [Apple App Store Scraper - Apps, Top Charts & Privacy Labels](https://apify.com/tallyproof/apple-app-store-scraper): app price per country, rating and star histogram, chart rank, version history, in-app purchase prices and App Privacy labels, plus Top Free/Paid charts for any country and category.
- [Google Play Scraper - App Details, Prices & Ratings by Country](https://apify.com/tallyproof/google-play-app-scraper): local price, rating histogram, installs, version, ads and in-app purchase flags, developer catalogues and reviews (no names) from public Google Play pages.
- [Google Ads Transparency Scraper - Competitor Ads & Creatives](https://apify.com/tallyproof/google-ads-transparency-scraper): every Google ad a competitor runs, by domain, advertiser or country, with first/last shown dates and image links.
- [Website Screenshot API - Full Page, Mobile, No Cookie Banners](https://apify.com/tallyproof/website-screenshot-no-cookie-banners): bulk full-page or mobile screenshots with cookie banners and popups hidden.

# Actor input Schema

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

One homepage per store (Shopify, WooCommerce, BigCommerce or any site). Only pages on the same domain are crawled.

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

Cost guard: pages audited per store. The crawler takes a balanced sample (collections, products, pages, blog posts) instead of only the first products in the sitemap.

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

Start URLs beyond this number are ignored.

## `useSitemap` (type: `boolean`):

Read the store's sitemap (from robots.txt or /sitemap.xml) to find pages and to flag sitemap URLs that redirect, 404 or are noindex.

## `followLinks` (type: `boolean`):

Also crawl links found on pages (menus, footers, product grids). Needed to find broken internal links that are not in the sitemap.

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

Different stores crawled at the same time. Pages of one store are always fetched one at a time.

## `delayBetweenRequestsMs` (type: `integer`):

Minimum 500 ms. Keeps the crawl polite and avoids rate limits.

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

On by default. Disallowed URLs are never fetched or charged. Turn off only for sites you own.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.deathwishcoffee.com"
  ],
  "maxPagesPerSite": 30,
  "maxSites": 100,
  "useSitemap": true,
  "followLinks": true,
  "maxConcurrency": 3,
  "delayBetweenRequestsMs": 1000,
  "respectRobotsTxt": true
}
```

# Actor output Schema

## `pages` (type: `string`):

One row per crawled page with its findings.

## `sites` (type: `string`):

One summary row per store: grade, broken pages, duplicate titles, noindex sitemap URLs, issue counts.

# 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": [
        "https://www.deathwishcoffee.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tallyproof/store-seo-audit-crawler").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": ["https://www.deathwishcoffee.com"] }

# Run the Actor and wait for it to finish
run = client.actor("tallyproof/store-seo-audit-crawler").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": [
    "https://www.deathwishcoffee.com"
  ]
}' |
apify call tallyproof/store-seo-audit-crawler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tallyproof/store-seo-audit-crawler"
        }
    }
}
```

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/Is48r6bz01rAcyOI4/builds/MfwdMapDoV72mhu1N/openapi.json
