Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CAD",
"impressions": [
{
"id": "37023",
"name": "Farley 9 Édit. Hiver",
"price": "3349.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "37018",
"name": "Farley 5",
"price": "2099.98",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "More Options",
"position": 2
}
,
{
"id": "37020",
"name": "Farley 9.6",
"price": "4599.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "33745",
"name": "Kit cadre Farley C",
"price": "3199.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark",
"list": "More Options",
"position": 4
}
,
{
"id": "40735",
"name": "Kit cadre Farley AL",
"price": "1899.99",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "More Options",
"position": 5
}
,
{
"id": "33744",
"name": "Kit cadre Farley AL",
"price": "959.93",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}