Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "47223",
"name": "Procaliber 9.5 3e gén.",
"price": "3399.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "41642",
"name": "Procaliber 9.6 2ère gén.",
"price": "4029.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 2
}
,
{
"id": "33258",
"name": "Procaliber 9.5 2ère gén.",
"price": "2699.97",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "More Options",
"position": 3
}
,
{
"id": "33241",
"name": "Kit cadre Procaliber 2ère gén.",
"price": "2349.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "white_black",
"list": "More Options",
"position": 4
}
,
{
"id": "41615",
"name": "Procaliber 6",
"price": "2149.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "44442",
"name": "Kit cadre Procaliber AL",
"price": "949.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greylight",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}