Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "36969",
"name": "Marlin 8 Gen 3",
"price": "1659.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "34649",
"name": "Marlin 8 2e gén.",
"price": "1099.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "redlight",
"list": "More Options",
"position": 2
}
,
{
"id": "36967",
"name": "Marlin 7 Gen 3",
"price": "1149.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluelight",
"list": "More Options",
"position": 3
}
,
{
"id": "33148",
"name": "Marlin 7 2e gén.",
"price": "899.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_grey",
"list": "More Options",
"position": 4
}
,
{
"id": "36966",
"name": "Marlin 6 Gen 3",
"price": "1099.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "blue_bluedark",
"list": "More Options",
"position": 5
}
,
{
"id": "35066",
"name": "Marlin 6 2e gén.",
"price": "829.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "More Options",
"position": 6
}
,
{
"id": "40773",
"name": "Marlin 5 Gen 3",
"price": "929.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "More Options",
"position": 7
}
,
{
"id": "41613",
"name": "Marlin 4 2e gén.",
"price": "749.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 8
}
,
{
"id": "40962",
"name": "Marlin 6 Gen 3",
"price": "1299.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 9
}
,
{
"id": "34587",
"name": "Marlin 5 2e gén.",
"price": "799.93",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "More Options",
"position": 10
}
,
{
"id": "37982",
"name": "Kit cadre Marlin Gen 3",
"price": "649.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "35866",
"name": "Kit cadre Marlin Gen 2",
"price": "579.99",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}