Skip to content

Load the CrawlProof stats tracker on every page - #9

Merged
ralyodio merged 1 commit into
mainfrom
crawlproof-stats
Sep 30, 2026
Merged

ralyodio merged 1 commit into
mainfrom
crawlproof-stats

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Adds <script data-site="aa98dc15-df01-4c84-a48d-8f5f7ad236f5" src="https://crawlproof.com/stats.js" async> to the Layout head, the single HTML shell (the x402 crawl page renders through it too). API and /mcp responses are untouched.

CSP: script-src and connect-src now allow https://crawlproof.com (the tracker loads from there and beacons to /api/track on the same origin). Without it the tag would be blocked.

Local: bun run lint clean, bun test 64 pass / 2 skip / 0 fail.

🤖 Generated with Claude Code

Adds the stats.js tag to the Layout head (the one HTML shell, so the
crawl sales page gets it too) and allows https://crawlproof.com in
script-src and connect-src, since the tracker beacons to /api/track.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio merged commit b7b12c6 into main Sep 30, 2026
3 checks passed
@ralyodio
ralyodio deleted the crawlproof-stats branch September 30, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant