Comment on page
The analytics API is built using REST. To submit an event you send a POST request to
x-api-id: <Your API ID>
Every event has to contain a
typeand a type-specific payload, as well as an optional
idsent in the user context within the context array must be consistent for all events concerning a single user. It should be anonymized, i.e. a generated id without any connection to personal data. You can read the section about user identification to learn more.
There are currently three types of events (view, interact, order), each with a specific payload as defined in the respective sections under events. The property containing the type specific payload is always named after the type itself.