Tracker events
Create an event
Track a custom event for a subscriber. Supplements the JavaScript tracker.
POST
Only the
email field is required. All other fields (category, action, label, property, value) are optional — include only what makes sense for your use case.
The value field accepts a plain string, a JSON-encoded string, or a JSON object/array. If you pass an object or array, we will automatically JSON-encode it on our side.
category, action, label and property are each capped in length. If you send a longer value, it is automatically truncated to fit — the request still succeeds and the response reflects the truncated value. email and value work differently: exceeding their limit fails the whole request with a 422 validation error instead of truncating.Length caps on category, action, label and property are measured in bytes of the UTF-8-encoded value, not characters — accented characters, emoji, and other multi-byte characters count as more than one byte each and may be cut off earlier than the byte count suggests.object
required
Event details.