...
It is possible to push additional data or to override Commerce Vision's out-of-the-box inclusions. For assistance with this, please contact a Commerce Vision Consultant.
Info |
---|
|
Do we want to include the below info anywhere? CV Use only section of |
...
...
Or just leave as part of Aidan's Confluence doc?
- Determine the type of additional data required to push:
Include the new data by adding the field to the relevant JSON field group. Data Type | Dictionary Table | JSON Field Group |
---|
User | Primary Table: Additional Tables: | SiteTrackerUserData-append (or SiteTrackerUserData_RoleName-append for role-specific changes) | Product | Product | SiteTrackerProductData-append (or SiteTrackerProductData_RoleName-append for role-specific changes) | Order | Primary Table: Additional Tables: - ProntoSalesOrderLine
- Product
| SiteTrackerOrderData-append (or SiteTrackerOrderData_RoleName-append for role-specific changes) |
Finally, construct the tracking code using the format below. Code Block |
---|
title | Sample Data Extension code |
---|
| $.cv.css.tracker.track("userDetail", "extend", function(data) {
return { EmailAddress: data.EmailAddress };
}); |
|
...
- First param is the data to manipulate (e.g. "userDetail" in sample code above)
- Second param is the type of manipulation:
- The third param is the function that will perform the manipulation (e.g. "EmailAddress: data.EmailAddress" in sample code above)
- The data is the raw data that can be used for manipulation (and includes the additional data from the JSON field groups described above)
- return an object with the properties and data to use
Extension methods - userDetail
- pageType (this is for Digital Remarketing)
productImpressions - productClick
questionnaire checkout checkoutOption transactionProducts loginSuccess logoutSuccess addToCart removeFromCart promoCodes viewOrder viewTemplate
|
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
sort | modified |
---|
showSpace | false |
---|
reverse | true |
---|
type | page |
---|
labels | kb-how-to-article |
---|
|