Documentation
Docs
Everything here is about getting events out of your app and answers back. Signed in, the samples on these pages are already about your project.
Quickstart
Install an SDK, send an event, and confirm it arrived.Events that read well
Put a name or a title on an event, and every list of events says which one it was.Signed sign-ins
Prove to a live environment who is signed in: one line of HMAC on your server.Events from your server
Send purchases and renewals from your backend or your store, on the same person, device and session.Remote config
Read a flag, a number or a piece of text from the dashboard, and change it without a release.Push setup
Apple and Firebase credentials, and what each one is actually for.Deep links
Give a notification somewhere to land, and route it when it arrives.Notification inbox
Read every message you have sent somebody, and draw the screen yourself.In-app messages on a website
A page that calls init shows its messages: when they appear, and how to switch them off or draw them yourself.HTML in-app messages
The treebars bridge an HTML message calls, and the attributes that need no script.Webhooks
Check that a request to your server came from Treebars, and is not a replay.Privacy controls
Let a person stop the SDK recording, and clear everything it kept on their device.Why some samples know your project
When you are signed in, code samples on these pages fill in your real project and project ids instead of showing <your-project-id>. Your ids and keys are not stored and are not sent anywhere — the page asks the API who you are, the same way the dashboard does, and substitutes the answer as it renders.
Arriving from a link inside the dashboard also carries whichever project you had selected, so the samples are about the thing you were just looking at.
Samples use
Environment
Checking which project to use.
Make these samples yours
Sign in and every sample on these pages fills in your own project ids instead of blanks.
Make these samples yours
Treebars is in private beta. Once you’re in, every sample here fills in your own project ids.