API
Build on the Revtrail API.
Site-scoped keys for reading analytics and managing conversion tracking from anywhere.
Analytics
Create a durable site key in the dashboard, then POST it to /api/fn/apiV1Overview for versioned aggregate analytics. Keys never expose visitor-level data.
Stripe revenue
Point a signed Stripe webhook at /api/fn/stripeRevenue and payments attribute to first-touch sources automatically.
Scoped management
Grant goals:write or funnels:write only when needed, then use /api/fn/apiV1CreateGoal or /api/fn/apiV1CreateFunnel. Every key is bound to one site and can be revoked.
CLI & MCP
Use the Revtrail CLI for scripts or connect the stdio MCP server to an AI client. Both use the same site scope and least-privilege permissions as the HTTP API.
API