← Home

Documentation

Set up and use Revtrail.

Everything from the one-line install to server-side revenue events and the query API.

Install the snippet

Add the script tag to your <head>, verify events in the live view, and you're tracking.

Track goals + revenue

revtrail('signup') for goals; revtrail('payment', { revenueCents }) for money.

Server-side events

Send events from your backend or payment webhooks with the HTTP API.

Documentation