Create Conversion Event
Conversion Tracking & SDK
Create Conversion Event
Register or update a user-defined conversion event definition
POST
Create Conversion Event
Register a new conversion event definition or update an existing event schema. If an event with the same
event_name and event_type already exists for your account, this endpoint performs an upsert by updating the description and expected metadata keys.
Body Parameters
Required Parameters
Event identifier name (e.g.
purchase, signup, lead, demo_booked). Normalized to lowercase automatically.Optional Parameters
Human-readable description of the conversion event and where it is triggered.
List of metadata property keys your frontend or backend passes when firing this conversion event (e.g.
["order_id", "value", "currency"]).Scope classification for the event:
ab_test: Used for A/B split testing decision metrics.short_url: Global goals tracked on short links.qr_code: Offline-to-online goals tracked on dynamic QR codes.
Response
Indicates whether the request succeeded.
The created or updated conversion event definition.
Request Examples
- cURL
- JavaScript