Ran into an unexpected snag recently while putting together a lightweight Shopify lead-qualification workflow in n8n.

I wanted a fast, zero-browser HTTP script that takes a list of DTC store domains and checks a few basic facts before anyone writes an outreach email:

  • Are they actively spending on Meta, TikTok, Google, or Reddit ads?
  • Do they already have Klaviyo, Omnisend, or an SMS platform installed?
  • What is their median catalog price and out-of-stock rate?
  • Is their DNS DMARC record actually enforced, or still sitting on p=none?

The weird part: when I ran classic HTML regex checks (fbevents.js, analytics.tiktok.com, gtag/js) against huge brands like Allbirds, Brooklinen, and ColourPop, the script reported zero ad pixels on stores that are obviously spending heavily on paid social.

Why classic HTML pixel scrapers break on modern Shopify stores

Most mid-market and enterprise Shopify stores no longer drop legacy third-party pixel scripts straight into theme.liquid. Instead, official ad channel integrations now run inside Shopify's sandboxed Web Pixels Manager.

If you inspect the raw HTML response of a modern Shopify storefront (still plain HTTP, no Playwright needed), you will usually find an inline configuration blob containing webPixelsConfigList (often HTML-entity or backslash-escaped inside a script tag), alongside Online Store 2.0 shopify://apps/ app embed URIs.

Inside each pixel entry of webPixelsConfigList, Shopify exposes an apiClientId and the app configuration JSON. Once you unescape and parse that JSON array, the official ad channels and actual Pixel IDs show right up:

import html import json import re # Known Shopify official Web Pixel apiClientId mappings (partial sample) SHOPIFY_WEB_PIXEL_CLIENTS = { "2329312": "Meta Pixel", "4383523": "TikTok Pixel", "1780363": "Google & YouTube", "2352383": "Pinterest Tag", "304258285569": "Reddit Pixel", } def extract_sandbox_pixels(raw_html: str) -> list[str]: match = re.search(r'"webPixelsConfigList"\s*:\s*"((?:\\.|[^"\\])*)"', raw_html) if not match: return [] unescaped = html.unescape(match.group(1)).encode("utf-8").decode("unicode_escape") entries = json.loads(unescaped) found = [] for item in entries: client_id = str(item.get("apiClientId", "")) if client_id in SHOPIFY_WEB_PIXEL_CLIENTS: found.append(SHOPIFY_WEB_PIXEL_CLIENTS[client_id]) return sorted(set(found)) 

No headless Chrome, no 4 GB RAM container, and no 15-second page renders per store.

Combining Web Pixels with /products.json and live DNS checks

Once pixel detection works over plain HTTP, you can gather three more verifiable signals in parallel on the same store in under a few seconds:

  1. Catalog pricing and out-of-stock % via /products.json: Most Shopify stores expose their public product catalog JSON. Sampling up to 250 products lets you compute the median price and exact OOS percentage deterministically (if 15% to 30% of SKUs are sold out, a back-in-stock flow is a concrete, non-generic reason to reach out).
  2. Async DNS MX / SPF / DMARC: You would be surprised how many seven-figure DTC brands still have missing DMARC records or sit on p=none, which directly hurts Gmail and Yahoo inbox placement.
  3. AI crawler rules in /robots.txt and /llms.txt: Checking whether GPTBot, OAI-SearchBot, ClaudeBot, or PerplexityBot are blocked takes one extra lightweight request.

Sample run on 3 real DTC stores (no headless browser)

Running an async batch across colourpop.com, brooklinen.com, and allbirds.com took 11 seconds total on 512 MB RAM:

  • colourpop.com: decoded 6 ad pixels (including Meta and TikTok Pixel IDs), Klaviyo + Attentive detected, 13.6% out-of-stock rate.
  • brooklinen.com: decoded 3 ad pixels, Attentive detected, $199 median price, public contact email found.
  • allbirds.com: caught Reddit Pixel inside the sandbox config, $110 median price, verified help email.

Honest caveats

Pure HTTP + DNS is fast and cheap, but it has real boundaries:

  • Storefronts sitting behind strict Cloudflare 403 bot walls (for example ridge.com when I tested) return unreachable. In my setup those domains are skipped and not billed.
  • Pixels fired strictly server-side inside Google Tag Manager Server-Side (sGTM) will not show up in client HTML.

Ready-to-import n8n workflow (MIT)

If you want to wire this into Google Sheets, HubSpot, Clay, Instantly, or Smartlead, I pushed the clean n8n workflow JSON (plus a few other HTTP/DNS audit templates for EU EAA accessibility, GEO AI search readiness, B2B DNS/ATS hiring signals, and WooCommerce outdated plugins) to a public GitHub repo:

Full disclosure: the HTTP Request node in the template points to the Apify Actor I published at $5 / 1,000 stores (shopify-outreach-audit-engine, free Apify monthly credits cover testing), or you can swap the HTTP node out and self-host the webPixelsConfigList snippet above.

Curious what other public storefront signals people check before qualifying e-commerce leads? Happy to hear ideas for the next parser pass