...
It is possible to push additional data or to override Commerce Vision's out-of-the-box inclusions.
...
- User
- Product
- Order
...
- In the CMS, navigate to Settings --> Dictionary.
- Enter the table in the 'TableName' field and click 'Define'.
Locate the required data field in the list.
Tip For very large tables such as 'Customer', the Search function may be handy. With the table defined, enter a keyword in the 'Search For' box, select the 'Contains' option, and click 'Search' (not Enter key).
...
For assistance with this, please contact a Commerce Vision Consultant.
Do we want to include the below info anywhere? CV Use only section of the same doc? Different doc?
- Determine the type of additional data required to push:
- User
- Product
- Order
Include the new data by adding the field to the relevant JSON field group.
Data Type Dictionary Table JSON Field Group User Primary Table:
- User
Additional Tables:
- Role
- Customer
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:
- ProntoSalesOrder
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 }; });
(Insert diagram/screenshot here & clarify with AT. to illustrate the below)
- First param is the data to manipulate
- Second param is the type of manipulation
- extend
- override
- The third param is the function that will perform the manipulation
- 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
...
- 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 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|