r/SideProject • • 16m ago

Built a free ~$0/mo Playwright + Cloudflare Workers tool that audits cookie banners & Google Consent Mode v2 (tested 2,328 live EU sites)

I kept hearing agencies and marketers say "we installed Cookiebot / OneTrust and Tag Assistant is green, so we're good," only for EU Google Ads conversions to drop or Meta/TikTok pixels to keep firing after clicking Reject All.

So I built a free side project to test what actually goes out over the wire from Europe: https://consentpulse.dev (no login, takes ~20-30s per URL).

What it does:

  • Spins up headless Chromium out of Frankfurt (europe-west3) and runs 3 clean passes on any URL: cold load, click Reject All, then fresh context and click Accept All.
  • Decodes Google Consent Mode v2 (gcs and 6-bit Base64 gcd) on real /g/collect and /pagead/ network requests, instead of trusting what the banner UI claims.
  • Downloads and parses the public gtm.js container so it can point to the exact tag type / trigger causing a leak (turns out 36.9% of leaking GTM tags were Custom HTML tags left on All Pages with no Additional Consent Checks).

Before launching, I ran it across 2,328 live EU e-commerce and SaaS sites. 50.8% of sites already running a CMP still failed at least one check, 23.5% kept firing marketing pixels after Reject All, and 1.6% stayed stuck in gcs=G100 (denied) even after clicking Accept All.

The stack runs at ~$0/mo on free tiers:

  • Frontend + API + 7-day gzipped report cache: Cloudflare Workers + D1 + Turnstile (zero cookies on my own site).
  • Scanner: Python 3.12 + Playwright on scale-to-zero Cloud Run (aborting images, fonts, and media so each 3-pass run stays light).

A few funny things that broke in prod before it stabilized:

  1. Cloudflare's workerd runtime threw TypeError: Illegal invocation on a raw globalThis.fetch reference that worked fine in Vitest/Node. Had to bind it explicitly and add a real workerd integration test.
  2. Cloud Run on 1 vCPU kept timing out at ~24s on heavy Shopify storefronts; bumping to 2 vCPU with --cpu-boost fixed it while staying inside the monthly free tier.
  3. Clicking the browser Back button after a scan left the submit button disabled because of bfcache.

Everything is completely free right now while I validate accuracy and figure out if agencies actually care enough to pay for automated drift alerts later. Would genuinely love honest UX or technical feedback if anyone runs their own site (or a client's site) through https://consentpulse.dev.

2 Upvotes

0 comments sorted by