Skip to main content
Custom event types let you declare the payload fields you expect when customers perform actions that are not covered by default events (for example product views or survey submissions). You define those fields in the dashboard as a Fields schema.

Define a Fields schema

1

Open Custom event types

In the dashboard go to Events → Custom event types, then click New or open an existing type to edit.
2

Add fields

In the Fields schema section, add one row per field. Each row has:
  • Field Name — the property path you will send on the event (letters, numbers, hyphens, underscores; use dots for nesting, for example order.value)
  • Type — one of string, number, boolean, or unknown
3

Save

Save the custom event type. The schema is stored with the type and shown in the Custom event types list.

Schema example

A Fields schema is an array of { name, type } objects. For example:
The schema is optional. If you do not add fields, the custom event type still works as a trigger; it simply has no declared payload shape.