Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "09848",
"name": "Leviers de frein Bontrager XXX Aero",
"price": "139.99",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "greydark",
"list": "More Options",
"position": 1
}
,
{
"id": "33246",
"name": "Lee Chi V-Brake Levers",
"price": "22.49",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "More Options",
"position": 2
}
,
{
"id": "41469",
"name": "Promax LM-48 Brake Levers",
"price": "13.99",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight_black",
"list": "More Options",
"position": 3
}
,
{
"id": "09955",
"name": "Trek Kids' Brake Levers",
"price": "8.99",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}