ADD event
The ADD event captures the product details when a user adds the product(s) to their online cart.
To send an ADD event, use the following required attributes:
Attribute |
Type |
Description |
Example |
---|---|---|---|
|
string (uppercase) |
The touchpoint where the user interacts with your brand. |
|
|
string (uppercase) |
The type of the event that takes place when the user interacts with your brand. |
|
|
string (uppercase ISO 639-1) |
The language the user is using your app in. |
|
|
string (uppercase ISO 4217) |
The alphabetic currency code of the currency the user is using in your app. |
|
|
string |
The name of the webpage where the interaction with your brand takes place. This is a custom value of your choice. |
|
|
string |
The name of the point of sale where the interaction with your brand takes place. |
|
|
string |
The browser ID. |
|
|
object |
The product entity data. |
N/A |
The product
object:
Attribute |
Type |
Description |
Example |
Required/optional |
---|---|---|---|---|
|
string (uppercase) |
The type of product added to cart. |
|
Required |
|
string |
The item ID of the product added to cart. Used in Extract, Transform, Load (ETL) data integration to create the order. |
|
Required |
|
string (title case recommended) |
The name of the product added to the cart. |
|
Required |
|
string (ISO 8601) |
The date and time the product was ordered. |
|
Required |
|
number |
The number of unit added. Total price of the product is calculated by unit price multiplied by quantity. |
|
Required |
|
number (currency) |
The unit price of the product. Total price of the product is calculated by unit price multiplied by quantity. |
|
Required |
|
string |
The product ID of the product added. Used in analytics for reporting. |
|
Required |
|
string (uppercase ISO 4217) |
The currency of the product added to the cart. |
|
Required |
|
number (currency) |
The unit price of the order item before conversion to the organization's currency. |
|
Optional |
|
string (uppercase ISO 4217) |
The original currency code for the order item. |
|
Optional |
|
string |
An ID generated by your organization to reference the order item. |
|
Required |
{
"channel": "MOBILE_APP",
"type": "ADD",
"language": "EN",
"currency": "EUR",
"page": "races",
"pos": "myretailsite/ireland",
"browser_id": "a38b230c-11eb-4cf9-8d5d-274e9f344925",
"product": {
"type": "BET",
"item_id": "EXACT_90",
"name": "Exact score after 90 minutes",
"orderedAt": "2024-08-23T16:17:16.000Z",
"quantity": 1,
"price": 100.00,
"productId": "CORRECT_SCORE",
"currency": "EUR",
"originalPrice": 100.00,
"originalCurrencyCode": "EUR",
"referenceId": "BET_001-1"
}
}