This article describes the events that are tracked by enhanced eCommerce Analytics with Carcloud.
Active pages
Enhanced ecommerce analytics tracking is active in the following pages:
-
Booking steps
-
Single promo page
-
Reservation manage page
GTM event
Our GTM guide contains instructions on GTM tracking setup. We require just one tag that is triggered by one custom event. Once configured, your GTM will show something similar to:
Possible tag attribute values
Possible values are as follows. Note:
- Category is always “Ecommerce”
- Label always empty
- Action characterises the event.
Actions are as follows:
- promoView
- promotionClick
- Product Impression
- Product Click
- Add to Cart
- Remove from Cart
- Checkout
- Transaction
- Cancelled
This can be used in filtering to create special triggers if needed (e.g. an onPurchase trigger for an Adwords conversion tag).
Non-interaction
{{nonInteraction}} is “true” except on a promotion click, when it’s false.
Data sets
Along with each these actions we send certain “ecommerce” dataLayer data sets.
Data examples
Vehicle impressions
"ecommerce": {
"currencyCode": "USD",
"impressions": [
{
"id": "FXMR", (sipp code)
"name": "Hybrid", (vehicle title)
"price": "301.00",
"brand": "TOYOTA PRIUS",(make + model)
"category": "NYC/vehicle", ([location]/vehicle),
"list": "Single tier", (“Single tier” or “Tier 1” or “Tier 2”, etc,
"variant": "vehicle",
"position": "1", (order number)
"metric1": "1" (days count)
},
....
]
}
}
Extras impressions
"ecommerce": {
"currencyCode": "USD",
"impressions": [
{
"id": "OPBSEAT", (extra item code)
"name": "Baby Seat", (extra item title)
"price": "24.54",
"category": "NYC/extra", ([location]/extra)
"list": "EXTRA",
"variant": "EXTRA", (EXTRA, COVERAGE or DISTANCE)
"position": "1", (order number)
"metric1": "1" (days count)
},
....
]
}
Click
"ecommerce": {
"click": {
"actionField": {
"list": "Single tier" (or “Tier [#nb]” f.e.: Tier 1, Tier 2, etc)
},
"products": [{
"id": "FXMR", (sipp code)
"name": "Hybrid", (vehicle title)
"price": "301.00",
"brand": "TOYOTA PRIUS",(make + model)
"category": "NYC/vehicle", ([location]/vehicle)
"position": "1"
},
....
]
}
Promotion Impressions (single offer page only)
"ecommerce": {
"promoView": {
"products": [{
"id": "bigRates", (sipp code)
"name": "Lorem ipsum", (offer title)
"creative": "post",
}]
}
}
PromoClick (on starting booking search in offer page)
"ecommerce": {
"promoClick": {
"promotions": [{
"id": "bigRates", (sipp code)
"name": "Lorem ipsum", (offer title)
"creative": "post",
}]
}
}
Checkout
"ecommerce": {
"checkout": {
"actionField": {
"step": "1" (1 in booking step, 2 in confirmation page)
},
"products": [
{
"id": "FXMR", (sipp code)
"name": "Hybrid", (vehicle title)
"brand": "TOYOTA PRIUS",(make + model)
"price": "301.00",
"category": "NYC/extra", ([location]/vehicle)
"variant": "vehicle",
"metric1": 2,
"quantity": 1
},
{
"id": "DDD",
"name": "100 miles",
"price": "0.00",
"category": "NYC/extra",
"variant": "DISTANCE",
"metric1": "2",
"quantity": 1
}
]
}
Purchase
"ecommerce": {
"purchase": {
"actionField": {
"id": "reservationCODE111",
"affiliation": "dummy adaptor",
"revenue": "495",
"tax": undefined,
"coupon": "bigRates",(promo code)
},
"products": [
(same as in checkout)
]
}
}
Refund
"ecommerce": {
"refund": {
"actionField": {
"id": "reservationCODE111"
}
}
}
Free-form eventAction and eCommerce data binding map
promoView |
promoView |
promotionClick |
promoClick |
Product Impression |
impressions |
Product Click |
click |
Add to Cart |
add |
Remove from Cart |
remove |
Checkout |
checkout |
Transaction |
purchase |
Cancelled |
refund |