Tracking Product data
This data is used to understand which Customers are looking at which Products. As described in the Product Data Specification only the Product ID and Name are required, additional attributes, such as the URL of the Thumbnail, Precis etc, will enable the unlocking of capabilities, such as hyper-personalised email.
When to send
- When a Visitor looks at a Page that contains a Single Product.
- Note: Do not send when a Customer looks at a Page containing multiple Products unless it is clear that the page contains one main Product.
Product Data specification
This object represents the product data the user is viewing
JSON Attribute | Type | Required | Description |
ProductId | String | Yes | The unique identifier for your Product. |
Name | String | The name of the product. | |
Precis | String | Introductory description for the product. | |
ThumbnailUrl | String | URL to the Product Thumbnail. | |
FullImageUrl | String | URL to the Product image in full. | |
Url | String | Full Url to the product page | |
ListPriceExTax | Decimal | List price excluding Tax | |
ListPriceIncTax | Decimal | List Price including Tax. | |
PriceBreaksDesc | String | Price breaks description text. This is only used in the case of building campaigns directly from this data so can be formatted as you wish. | |
CustomAttributes | JSON | Key, value JSON for adding any custom attributes you wish into store against the record. | |
Available | Boolean | Is the Product currently available? Yes, No |
Customer Data Specification
This allows you to associate the call with a customer record.
Attribute | JSON Attribute | Type | Required | Description |
CUSTOMER ID | CustomerId | String | Yes | Your unique Customer id. |
FIRST NAME | FirstName | String | The Customer’s first name | |
LAST NAME | LastName | String | The Customer’s last name | |
EMAIL ADDRESS | EmailAddress | String | Yes | The Customers email address. |
Example JSON
{
"Context": {
"DistilAccountId": "abc-123",
"AnonymousUserID": "f7692ca5-cfd1-4604-81c8-bb8cda4908e0",
"Device Information": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5)",
"EventTimestampUTC": "2017-03-14 23:02:17",
"EventTimestampLocal": "2017-03-14 23:02:17",
"PageTitle": "A Fistful of Dollars",
"PageUrl": "https://www.imdb.com/title/tt0058461/",
"ReferrerUrl": "https://www.google.com/search?biw=1680&bih=970&ei=FC6BXO"
},
"Product": {
"ProductId":"ABC-1234",
"Name": "LPD NuVU Roomfold Internal Oak Folding Sliding Modular Door Kit",
"Precis": "The NuVu Roomfold system is ideal for those looking for an alternative to more conventional room divider sets.",
"ThumbnailUrl":"https://www.doors-r-us/door.jpg?w=500&h=500&fit=crop",
"FullImageUrl": " https://www.doors-r-us/door.jpg",
"Available": true,
"ListPriceExTax": 100.00,
"ListPriceIncTax": 120.00,
"Currency":"GBP",
"PriceBreaksDesc":"Descriptive Text: 20% discount on orders over x items",
"CustomAttributes" : {
"CustomAttribute1": "Attribute 1",
"CustomAttribute2": "Attribute 2",
"CustomAttribute3": "Attribute 3"
}
}, "Customer": {
"CustomerId": "1200",
"EmailAddress": "customer@distil.ai",
"FirstName": "Gerry",
"LastName": "McNicol" }
}