Skip to content

Add CrawlProof stats tracker - #2

Merged
ralyodio merged 2 commits into
mainfrom
crawlproof/install-stats-tracker-2026-07-26T06-12-28
Jul 26, 2026
Merged

Add CrawlProof stats tracker#2
ralyodio merged 2 commits into
mainfrom
crawlproof/install-stats-tracker-2026-07-26T06-12-28

Conversation

@crawlproof

@crawlproof crawlproof Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

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

<Script data-site="af9ab953-caa6-4a2b-a306-42fb4eac4630" 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 July 26, 2026 06:12
The bot inserted the <Script> tag with the wrong indentation, which failed the
format check. No behavioural change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio merged commit bca78f1 into main Jul 26, 2026
5 checks passed
@ralyodio
ralyodio deleted the crawlproof/install-stats-tracker-2026-07-26T06-12-28 branch July 26, 2026 06:22
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