Events pattern

 

Send events

Events are sent through GET or POST requests, in the query parameter events. This parameter takes an array of objects, each object being an event.

Example:

https://YOURSSLLOG.YOURDOMAINLOG/pixel?s=YOURSITEID&events=[{<eventsObject>}]
 

Event object pattern

An event object is following this pattern:

PropertyTypeDescription
namestringEvent name
dataobjectEvent data model properties
 

Event example

{
  "name": "av.heartbeat",
  "data": {
    "av_content_id": "bc35",
    "av_session_id": "799d9f3b-7307-4113-a260-2e1371e35fe6",
    "av_content": "Broadchurch 3.5",
    ...
  }
}

Cet article a-t-il été utile ?

Last update: 16/04/2020