REST API Technical Documentation
Use direct calls to the API.
Send activity
POST https://collect-eu.attraqt.io/:trackerKey
Send an activity to the API
Path Parameters
trackerKey
string
Tracker key uniquely identifying the application.
Request Body
target
object
The target of the action
action
string
The user's action on the website
user
object
User object (traits, segments and identities)
sourceId
string
If the action is on a search result or a recommendation, then send the sourceId - responseId in FHR or recommendationId in XO.
metadata
object
All additional contextual data on the performed action
segments
array
List of segments, usually for describing the client
timestamp
string
Timestamp in ISO format
{"profiles":{}}{ "error": "Unauthorized", "message": "Unknown tracker key" }{ "error": "Unprocessable Entity", "message": "Tracker key not valid" }For an overview of the Activity object see:
For the User details, visit this link:
Users must have a sessionId on their identities. This unique ID makes it possible to follow the visitors throughout their navigation if they are not connected.
Last updated

