Overview
Multiexcerpt | ||
---|---|---|
| ||
|
Table of Contents
Tip |
---|
The 'Data Layer Doctor' extension for Chrome may be useful in viewing data objects during testing. It allows you to check the contents of a data layer and verify it against your specifications. |
...
Anchorremarketing remarketing
remarketing | |
remarketing |
...
Property | Value | Notes | |
---|---|---|---|
event | 'remarketing' | ||
ecomm_pagetype | One of the following:
| Value determined by the page the user is on. For example:
| |
ecomm_prodid | One of the following:
| Optional. Value determined by the page the user is on, and does not apply to page types 'home' or 'other'. | |
ecomm_totalvalue | The total value of all products and charges (if any) | Optional. Only applies to page types 'product', 'cart, and 'purchase'. | |
google_conversion_value | The total value of all products and charges | Optional. Only applies to page type 'purchase'. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "event": "remarketing", "ecomm_pagetype": "home", "ecomm_prodid": ["ProductCode", "ProductCode"] or "ProductCode", "ecomm_totalvalue": "99.99", "google_conversion_value": "99.99" } |
...
Anchorecommerce ecommerce
ecommerce | |
ecommerce |
2. Enhanced eCommerce
...
BPD Enhanced eCommerce data is pushed for nearly every event type on the website. The data objects are outlined below, including properties and their possible values.
a. Product Impressions Anchor ecomimpressions ecomimpressions
...
Property | Value | Notes | |
---|---|---|---|
event | 'enhancedEcomm' | Due to infinite scrolling, some pages may load additional data after the initial page load. For this reason, impressions are pushed via an event. Infinite scrolling creates a new event, and therefore a new data push. This also ensures that data is pushed in blocks, so as not to exceed Google's object data limit. | |
event_type | 'impression' | ||
currencyCode | The currency code for the current account | ||
name | The product description | ||
id | The product code | ||
category | The product's primary category | Includes all levels of the category structure for the product's primary category. | |
list* | One of the following:
| Value determined by the list in which the product is located. *Note - Zoned Product Layout must be used in order for Enhanced eCommerce to work with lists. | |
brand | The product's brand | ||
position | The product's position / sequence in its list | ||
price | The product price (nett price for 1) | If 'hide pricing' is enabled at Role level, this data is not pushed. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "enhancedEcomm", "event_type": "impression", "ecommerce": { "currencyCode": "AUD", "detail": { "actionField": { "list": "list name" }, "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "brand": "brand name", "price": "99.99" } ] } } } |
...
b. Product Clicks Anchor ecomclicks ecomclicks
...
Property | Value | Notes | |
---|---|---|---|
event | 'productClick' | ||
list* | One of the following:
| Value determined by the list in which the product is located. *Note - Zoned Product Layout must be used in order for Enhanced eCommerce to work with lists. | |
name | The product description | ||
id | The product code | ||
category | The product's primary category | Includes all levels of the category structure for the product's primary category. | |
brand | The product's brand | ||
position | The product's position / sequence in its list | ||
price | The product price (nett price for 1) | If 'hide pricing' is enabled at Role level, this data is not pushed. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "productClick", "ecommerce": { "click": { "actionField": { "list": "list name" }, "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "brand": "brand name", "price": "99.99", "position": 1 } ] } } } |
...
c. User Details Anchor ecomuser ecomuser
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "User_ID": "unique user id" } |
...
d. Questionnaire Anchor ecomquestion ecomquestion
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "virtualURL": "thank you URL" } |
e. Checkout Steps & Options Anchor ecomcheckout ecomcheckout
...
Property | Value | Notes |
---|---|---|
event | 'checkout' | |
event_type | 'checkout' | |
step | The checkout step number:
| Steps 3 & 4 will trigger additional 'Product Option' data to be pushed, in the form of the option selected at this step. For example, the freight option selected at Step 3 or the payment method selected at Step 4 (sample provided below). |
products | The products in the cart | Standard product data will be pushed for each product in the cart (e.g. name, id, category, brand, price). |
...
Property | Value | Notes | |
---|---|---|---|
event | 'checkoutOption' | ||
event_type | 'checkout' | ||
step | 3 or 4 | Value determined by the step number in 'Checkout Steps' data above. | |
option | The option selected at this step | For example - 'pickup' at Step 3 or 'BPAY' at Step 4. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "checkoutOption", "event_type": "checkout", "ecommerce": { "checkout_option": { "actionField": { "step": 4, "option": "BPAY" } } } } |
...
f. Transactions Anchor ecomtrans ecomtrans
...
Property | Value | Notes | |
---|---|---|---|
event | 'enhancedEcomm' | ||
event type | 'payment' | ||
name | The product description | Repeated for each product in the transaction. | |
id | The product code | Repeated for each product in the transaction. | |
category | The product's primary category | Includes all levels of the category structure for the product's primary category. Repeated for each product in the transaction. | |
price | The product price (nett price for 1) | Repeated for each product in the transaction. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "login", "widgetName": "widget-name" } |
...
h. Logout Success Anchor ecomlogout ecomlogout
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "logout", "widgetName": "widget-name" } |
i. Add to Cart Anchor ecomaddtocart ecomaddtocart
...
Property | Value | Notes | |
---|---|---|---|
event | 'addToCart' | ||
currencyCode | The currency code for the current account | ||
products | The product(s) added to the cart | Standard product data is included here (e.g. name, id, category, quantity, brand, price) | |
pageType | One of the following:
| Value determined by the page on which the product was added. | |
list* | One of the following:
| Value determined by the list from which the product was added *Note - Zoned Product Layout must be used in order for Enhanced eCommerce to work with lists. |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "addToCart", "ecommerce": { "currencyCode": "AUD", "add": { "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "quantity": 1, "brand": "brand name", "price": "99.99" } ] } }, "pageType": "Product List", "list": "Product List" } |
...
j. Remove from Cart Anchor ecomremovefromcart ecomremovefromcart
...
Property | Value | Notes | |
---|---|---|---|
event | 'removeFromCart' | ||
currencyCode | The currency code for the current account | ||
products | The product(s) removed from cart | Standard product data is included here (e.g. name, id, category, quantity, price). |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "removeFromCart", "ecommerce": { "currencyCode": "AUD", "remove": { "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "quantity": 1, "price": "99.99" } ] } } } |
k. Cart Updated Anchor ecomcartupdate ecomcartupdate
...
- Quantity increase triggers an "addToCart" data push
- Quantity decrease triggers a "removeFromCart" data push
l. Promotion Codes Anchor ecompromo ecompromo
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "removedPromoCode", "promoCode": "XXXX" } |
...
m. View Order Anchor ecomvieworder ecomvieworder
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "virtualURL": "/TrackOrder/ViewOrder/Order Number" } |
...
n. View Template Anchor ecomviewtemplate ecomviewtemplate
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "virtualURL": "/OrderTemplates/Template Name" } |
...
Anchorextend extend
3. Extending or Overriding pushed data
extend | |
extend |
...
- userDetail
- pageType (this is for Digital Remarketing)
productImpressions
- productClick
questionnaire
checkout
checkoutOption
transactionProducts
loginSuccess
logoutSuccess
addToCart
removeFromCart
promoCodes
viewOrder
viewTemplate
Additional Information
Multiexcerpt | ||
---|---|---|
| ||
(Google Tag ID required) |
Multiexcerpt | ||||
---|---|---|---|---|
| ||||
Minimum Version Requirements |
| |||||
---|---|---|---|---|---|---|
Prerequisites |
| |||||
Self Configurable |
| |||||
Business Function |
| |||||
BPD Only? |
| |||||
B2B/B2C/Both |
| |||||
Ballpark Hours From CV (if opting for CV to complete self config component) |
| |||||
Ballpark Hours From CV (in addition to any self config required) |
| |||||
Third Party Costs |
| |||||
CMS Category |
|
Related
...
help
Content by Label | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|