Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "34130",
"name": "Chaussure de VTT Bontrager Foray",
"price": "159.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "More Options",
"position": 1
}
,
{
"id": "25343",
"name": "Chaussures de VTT Bontrager XXX",
"price": "499.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30465",
"name": "Chaussures de VTT Bontrager XXX LTD",
"price": "559.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "14108",
"name": "Jeu de crampons Bontrager Sabertooth",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "33009",
"name": "Jeu de crampons Bontrager Comp",
"price": "16.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}