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": "47829",
"name": "Kit cadre Procaliber C 3e gén.",
"price": "2749.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "reddark",
"list": "More Options",
"position": 2
}
,
{
"id": "41642",
"name": "Procaliber 9.6",
"price": "4029.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue",
"list": "More Options",
"position": 3
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "3299.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_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");
}