For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

End-to-end worked examples for the things people actually want to do.

Each page is a complete, copy-paste-ready walkthrough of a real-world flow: instrumenting it on the client, querying the resulting data, and the gotchas to watch for.

Recipe
What it covers

Page view → CTA click → form view → signup → activated. Drop-off math at each step.

Product views, cart, checkout, refunds. Revenue & AOV queries.

The Facebook social-vs-paid split. First-touch vs last-touch. Channel ROI.

When to emit from the server, how to thread anonymous_id, batching at scale.

Stitching pre-login activity to the post-login user. Multi-device.

The /v1/forget flow end-to-end, including audit-trail patterns.

SQL templates for n-step funnels, day-N retention cohorts, time-to-event.

If a flow you need isn't here, the Quickstart + Events + Properties cover the building blocks.

A consistent example app

The recipes share a fictional product to keep examples concrete: Acme Notes — a SaaS notes app with a free plan, a Pro plan ($49/month), and team workspaces. When you see acme.com or plan: "pro" in a snippet, that's why.

Last updated

Was this helpful?