Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "41550",
"name": "Fuel EXe 8 GX AXS T-Type",
"price": "7499.98",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "More Options",
"position": 1
}
,
{
"id": "36365",
"name": "Fuel EXe 9.7",
"price": "6799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 2
}
,
{
"id": "41526",
"name": "Fuel EXe 9.7",
"price": "9399.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "47286",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "17999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "More Options",
"position": 4
}
,
{
"id": "47285",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "14999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "41554",
"name": "Fuel EXe 8 XT",
"price": "7199.98",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "More Options",
"position": 6
}
,
{
"id": "41476",
"name": "Fuel EXe 5",
"price": "5999.98",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41571",
"name": "Fuel EXe 9.8",
"price": "11849.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark_greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "41652",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "14999.99",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark_grey",
"list": "More Options",
"position": 9
}
,
{
"id": "41656",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "10399.97",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "36371",
"name": "Fuel EXe 9.9 XTR",
"price": "11699.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "yellow",
"list": "More Options",
"position": 11
}
,
{
"id": "36373",
"name": "Fuel EXe 9.9 XX1 AXS",
"price": "12999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "More Options",
"position": 12
}
,
{
"id": "36367",
"name": "Fuel EXe 9.8 GX AXS",
"price": "8999.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 13
}
,
{
"id": "36374",
"name": "Fuel EXe 9.5",
"price": "5799.93",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}