Pathrail docs
Start with the script. Everything else is optional and can be added in any order.
Install the script
The snippet, its options, single-page apps, custom events and identify.
Revenue attribution
Connect Stripe, Lemon Squeezy or Polar and see revenue by every source.
AI crawler collector
Send server request logs so you can see GPTBot, ClaudeBot and the rest.
Bot filtering
What is removed, why, and where to read the ledger.
Server API
Send events and identify people from your backend; read any report.
MCP server and Ask
Use Pathrail from Claude, Cursor or any MCP client.
Imports
Bring your history from Plausible or Umami, and undo it if you need to.