Skip to content

Add CrawlProof stats tracker#6

Merged
ralyodio merged 1 commit into
masterfrom
crawlproof/install-stats-tracker-2026-05-23T10-38-00
May 23, 2026
Merged

Add CrawlProof stats tracker#6
ralyodio merged 1 commit into
masterfrom
crawlproof/install-stats-tracker-2026-05-23T10-38-00

Conversation

@crawlproof
Copy link
Copy Markdown
Contributor

@crawlproof crawlproof Bot commented May 23, 2026

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/src/app/layout.tsx, just before </body>:

<Script data-site="09d382f0-1b98-4d28-b360-78eaf4e030f2" 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).

@ralyodio ralyodio merged commit 54f065e into master May 23, 2026
7 checks passed
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