Skip to content

Add CrawlProof stats tracker - #22

Merged
ralyodio merged 2 commits into
mainfrom
crawlproof/install-stats-tracker-2026-08-13T03-23-25
Aug 13, 2026
Merged

ralyodio merged 2 commits into
mainfrom
crawlproof/install-stats-tracker-2026-08-13T03-23-25

Conversation

@crawlproof

@crawlproof crawlproof Bot commented Aug 13, 2026

Copy link
Copy Markdown

This PR adds the CrawlProof stats tracker to your site.

What it does: counts pageviews by source — AI engine referrals (ChatGPT, Perplexity, Claude, Gemini…) and AI crawler hits (GPTBot, ClaudeBot, PerplexityBot…). No cookies. No PII. Rolls up to a daily counter on the CrawlProof Stats tab for your project.

What changed: one line added to apps/web/app/layout.tsx, just before </body>:

<Script data-site="1c2f4daf-5388-46af-a167-f8e9f9c74c27" src="https://crawlproof.com/stats.js" strategy="afterInteractive" />

The diff also imports Script from next/script if it wasn't already imported.

Docs: https://crawlproof.com/docs/stats-tracker
Disable: flip the tracker off on your CrawlProof project Stats tab and the script becomes a no-op (or remove this line).

crawlproof Bot and others added 2 commits August 13, 2026 03:23
The generated snippet used double quotes and left the tag indented under
nothing, which is what failed format:check. Content unchanged.
@ralyodio
ralyodio merged commit 782b89e into main Aug 13, 2026
4 checks passed
@ralyodio
ralyodio deleted the crawlproof/install-stats-tracker-2026-08-13T03-23-25 branch August 13, 2026 03:28
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