Activity Table Details
This table contains details on property type and short explanations regarding the value.
Field | Type | Description |
---|---|---|
action | string | Action made by a visitor on a given target. Actions are defined by a verb. List of available actions can be customized so you can create your own verb. By default available actions include click, view, add-to-cart, remove-from-cart, purchase. Example:
|
target | JSON Object | This field is a free form object used to identify the target of an activity. For example, if the action is done on a specific product, the target key will be product and the value will be the product id. Example:
Actions can be done on several targets at the same time. For example, if you click on a search facet, the target will be the facet id and the facet value. In the example below brand is the facet id, and Dior is the value of the brand facet.
|
sourceId | string | The source id from the service response that generated the list or page (search result, recommendation, ...) where the action happened. For our XO platform: For out Fredhopper platform: Example:
|
metadata | JSON Object | Metadata contains additional descriptive information on the target. There are 4 reserved fields: |
metadata.price | Integer | Unit price of a target, expressed in cents. |
metadata.quantity | Integer | Useful when sending a |
metadata.currency | string | Currency of the |
metadata.orderId | string | The unique order id of a purchase. |
segments | array of string | Segments are descriptors of the client application such as iOS, Mobile, Chrome etc. |
user | JSON Object | Should contain all information regarding the user who performed the activity. Detailed information available here. |
user.identities | JSON Object | Contain all user's identities expressed in key/value pairs. Example:
|
user.segments | array of strings | Segments are information that you have on your side which describe types of users. Example:
|
user.traits | JSON Object | Traits are miscellaneous information that you want to send to Attraqt about the user. This information is sent as a free form object. As those information can be personal data, please consult the section on GDPR best practices here. Example:
|
timestamp | timestamp | A timestamp of the occurrence of the activity represented in the following ISO format https://fr.wikipedia.org/wiki/ISO_8601 Example:
|
Last updated