Create events

Log a new event - useful for triggering and tracking conversions for a tour

User profiles can be created or updated. Extra parameters will be stored in addition to any ones provided and can be used to segment users for tours.

Definition

https://observe.trychameleon.com/events

Parameters

Body Params
uid string

The unique identifier (in your system) for this user (Required)

name string

The name of the event (Required)

at timestamp

The time the event occurred (Required)

* mixed

Any other specified keys/values with be stored along with the profile

Examples

curl -X POST -H 'X-Account-Secret: SECRET' https://observe.trychameleon.com/events

Result Format

{
  event: {
    id: '566f6248cf41d00003000204',
    name: 'Checkout Completed',
    ...
  }
}