Track events
Send events like trial_started or payment_failed so the matching workflows fire.
JavaScript
window.Atlis.track("first_project_created", { projectName: "Launch plan" });How events work
- Call
identify()first, on the same page load.track()is ignored until a user has been identified. - Use the exact trigger name, such as
trial_started. The full list is in the Trigger reference. - An event only sends an email if a workflow for that trigger is switched on. Sending an event never switches a workflow on.
- You can also create your own event names, lowercase with underscores. See Custom triggers.
- Properties are optional extra details saved with the event.
Billing events with Stripe or Paddle
If Stripe or Paddle is connected, Atlis ignores these events from the snippet so they aren't counted twice: payment_failed, payment_recovered, subscription_cancelled, subscription_activated, plan_upgraded and plan_downgraded.
Exception: Paddle doesn't report upgrades and downgrades, so with Paddle (and no Stripe) you can still send plan_upgraded and plan_downgraded yourself.
Sending events from your server
For events that happen outside the browser, such as a nightly job or a webhook, use POST /api/v1/events. See Server API.
More in Install tracking
Try it in your own workspace
Start with a 14-day trial with Growth features. No credit card needed.
Start free