Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "35041",
"name": "Chaussures VTT Trek RSL",
"price": "599.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 1
}
,
{
"id": "30465",
"name": "Chaussures de VTT Bontrager XXX LTD",
"price": "374.93",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "25343",
"name": "Chaussures de VTT Bontrager XXX",
"price": "359.93",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45271",
"name": "Chaussure de VTT Trek Cambion",
"price": "349.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45272",
"name": "Chaussure de VTT Trek Foray",
"price": "204.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "45273",
"name": "Chaussure de VTT Trek Foray Wide",
"price": "204.99",
"brand": "Trek",
"category": "Mountain bike shoes",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "34130",
"name": "Chaussure de VTT Bontrager Foray",
"price": "109.97",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "More Options",
"position": 7
}
,
{
"id": "14108",
"name": "Jeu de crampons Bontrager Sabertooth",
"price": "59.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "33009",
"name": "Jeu de crampons Bontrager Comp",
"price": "16.99",
"brand": "Bontrager",
"category": "Cycling shoe parts & insoles",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}