ingestlayer/recipes

Track feature usage

Watch the features that signal expansion — exports, API calls, integrations — and route the moments that hint a customer is ready for more.

the event

Emit feature.used once; route it anywhere below.

  • user_idstring
  • featurestringfeature key
  • countnumberuses in window
  • planstring
emit feature.used
import { ingest } from "@ingestlayer/sdk";

await ingest("feature.used", {
  user_id: ctx.user.id,
  feature: "csv.export",
  count:   1,
  plan:    ctx.user.plan,
});

send it to