ingestlayer/recipes

Track user signups

Know the moment someone signs up — who they are, which plan they picked, and where they came from — without waiting for a daily export or tailing logs.

the event

Emit user.signed_up once; route it anywhere below.

  • user_idstringyour internal id
  • emailstring
  • planstringfree | pro | scale
  • sourcestringwhere they came from
  • created_atstringISO 8601
emit user.signed_up
import { ingest } from "@ingestlayer/sdk";

await ingest("user.signed_up", {
  user_id: user.id,
  email:   user.email,
  plan:    user.plan,
  source:  "marketing-site",
}, {
  idempotencyKey: user.id,   // one signup per user, ever
});

send it to