Product Events
Track event
Send event data to the Castled.io service for tracking.
POST
Headers
API generated from Castled dashboard.
Body
application/json
Event data to be tracked.
Schema representing the event data.
Email ID of the user triggering the event.
Example:
"email@domain.com"
Name of the event being tracked.
Example:
"Added to cart"
Flatmap for tracking additional properties related to the event.
Time when the event took place. Optional, if not specified, event gets the current timestamp.
Example:
"2012-12-02T00:30:08.276Z"
Response
204
Event successfully tracked