ingestlayer/recipes

Track form submissions

Route contact, demo, and feedback forms the instant they're submitted — classified by intent and stripped of PII before they reach a channel.

the event

Emit form.submitted once; route it anywhere below.

  • form_idstringwhich form
  • emailstring
  • fieldsobjectraw form values
  • pagestringpage URL
emit form.submitted
import { ingest } from "@ingestlayer/sdk";

await ingest("form.submitted", {
  form_id: form.id,
  email:   form.values.email,
  fields:  form.values,
  page:    location.pathname,
});

send it to