Send billing events from your server
Subscription and trial events start in your billing provider, so track them where you handle its webhooks, with the Node, Ruby, or Go SDK and the customer’s user ID. In Node that is pug.track('user_123', 'trial_converted', { planId: 'pro' }). Pass the same ID to identify() in the browser (which does nothing until the visitor consents, since the web SDK starts cookieless) and the event lands on the same timeline as the pages and features they used before paying. Server calls use a private key, which never ships in client code.
What Pug does not calculate
Insights count events and people, and none divides one series by another, so MRR, net revenue retention, and a churn rate across all subscribers come from your billing data, not from Pug. Per cohort you get close: a Retention from subscription_started to subscription_renewed, by month, shows the percentage of each month’s new subscribers on a monthly plan who renewed in each month after. Profiles are people, not companies: Pug has no account-level profile, so to read one customer account, set a trait such as company on each of its users and filter by it.
Ask Claude or ChatGPT about activation
Pug is listed in Claude’s connectors directory and among ChatGPT’s plugins, and Claude Code, Cursor, or any other MCP client connects to https://api.pug.sh/mcp. Sign in once and ask which onboarding step lost the most accounts this month, or how the last four signup cohorts retained. The answers run through the same API as the dashboard, so the numbers match. Sixteen of its seventeen tools only read; the other creates and edits dashboards, and no connection can delete or share a dashboard, erase a person, or send events.
Built on well-known events like signup, trial_started, trial_converted, subscription_changed, subscription_canceled, feature_used. Generate a tracking plan.