以下整理了GTM dataLayer的增强型电商的变量,在配置GTM容器时可以灵活使用。
Promotional Banner |
ecommerce.promoClick.promotions[n].id |
ecommerce.promoClick.promotions[n].creative |
Products |
ecommerce.detail.products[n].id |
ecommerce.detail.products[n].name |
ecommerce.detail.products[n].brand |
ecommerce.detail.products[n].variation |
ecommerce.detail.products[n].category |
ecommerce.detail.products[n].price |
ecommerce.detail.products[n].position |
ecommerce.detail.products[n].list |
google_tag_params.ecomm_pagetype |
google_tag_params.ecomm_prodid |
google_tag_params.ecomm_rec_prodid |
Cart |
ecommerce.add.actionField.id |
ecommerce.add.actionField.step |
ecommerce.currencyCode |
ecommerce.add.actionField.coupon |
ecommerce.add.actionField.couponDiscount |
ecommerce.add.actionField.tax |
ecommerce.add.actionField.shipping |
ecommerce.add.actionField.shippingMethod |
ecommerce.add.actionField.subTotalIncludeTax |
ecommerce.add.actionField.revenue |
google_tag_params.ecomm_rec_prodid |
Transaction |
ecommerce.purchase.actionField.id |
ecommerce.purchase.actionField.step |
ecommerce.currencyCode |
ecommerce.purchase.actionField.coupon |
ecommerce.purchase.actionField.couponDiscount |
ecommerce.purchase.actionField.tax |
ecommerce.purchase.actionField.shipping |
ecommerce.purchase.actionField.shippingMethod |
ecommerce.purchase.actionField.subTotalIncludeTax |
ecommerce.purchase.actionField.revenue |
ecommerce.purchase.actionField.paymentMethod |
ecommerce.purchase.actionField.date |
ecommerce.purchase.products[n].id |
ecommerce.purchase.products[n].name |
ecommerce.purchase.products[n].variation |
ecommerce.purchase.products[n].brand |
ecommerce.purchase.products[n].category |
ecommerce.purchase.products[n].price |
ecommerce.purchase.products[n].quantity |
Transaction (Billing Address) |
ecommerce.purchase.actionField.city |
ecommerce.purchase.actionField.region |
ecommerce.purchase.actionField.country |
ecommerce.purchase.actionField.postalRegion |