Track an Event

Tracks a user behavior event.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Events (also known as activities) are used to indicate that a user performed a particular action. These events will appear in your user's profile as recent history, and can be used to create behaviors for triggers and segmentation in the Zeta Marketing Platform. As well, these events act as signals for Zeta's personalization systems to generate insight and predictive recommendations for your campaigns.

Reserved Fields

Note that the request will be rejected if the event properties contain fields with the same name as any of the following reserved keywords:
enriched, event_id, geolocation, http_method, identified, identity, is_bot, is_test, properties, referer, status, url, user_agent

Path Params
string
required

The unique identifier for your site.

Body Params
string
required

The unique identifier for your site.

string
required

The Boomtrain identifier returned by a previous identify call for this person.

string
required

The name of the event, e.g. "viewed", "liked", "shared"

string

The type of resource being acted upon.

string

The ID for the resource being acted upon.

string

ISO-8601 Timestamp OR Epoch time in milliseconds If unspecified, defaults to the current time. If it fails to parse, or if the timestamp represents a time before two years in the past or after the current time plus one day, the event will be rejected.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json