Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37056",
"name": "Session 8",
"price": "6899.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37959",
"name": "Kit cadre Session AL",
"price": "3949.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "bluedark_blue",
"list": "More Options",
"position": 2
}
,
{
"id": "41823",
"name": "Session 9 X01",
"price": "9199.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "22049",
"name": "Kit de cadre Session C 27,5",
"price": "5719.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "17408",
"name": "Kit de cadre Session Al 27,5",
"price": "1619.99",
"brand": "Trek",
"category": "Downhill mountain bikes",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}