Growbeat

Deploys and product events

Deploys

When a source drops or errors spike, the first question is whether something was deployed. Record deploys three ways:

From CI (any provider), with the project's ingest token:

curl -fsS -X POST https://getgrowbeat.com/api/v1/deploy \
  -H "Authorization: Bearer $TL_INGEST_TOKEN" -H "Content-Type: application/json" \
  -d '{"title":"'"$(git log -1 --pretty=%s)"'","sha":"'"$(git rev-parse HEAD)"'","ref":"main"}'

GitHub webhook: Settings → Webhooks → Add. Payload URL https://getgrowbeat.com/api/v1/hooks/github/<ingest token>, content type application/json, a secret, and events Pushes and Deployment statuses. Paste the same secret in the project's Settings. Only pushes to main/master and successful deployments are recorded.

From an agent, over MCP with a write-enabled key: record_deploy.

Product events (retention cohorts)

Send events from your backend (not the browser) with the ingest token:

POST https://getgrowbeat.com/api/v1/events
Authorization: Bearer tl_in_…
Content-Type: application/x-ndjson

{"user":"u_8412","name":"signup","source":"chatgpt"}
{"user":"u_8412","name":"activated"}
{"user":"u_77","name":"purchase","value":49}

user must be an opaque id. Lines whose user looks like an email are rejected. ts (ISO or epoch) is optional. source is optional: pass the traffic source you recorded at signup and the report will show signups by source.

The signup event's name is set in Settings (default signup). Cohorts are weekly: the % of each week's new users who did anything (or a chosen event) in each following week.