Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41738",
"name": "Cagoule de cycliste Trek coupe-vent",
"price": "24.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41739",
"name": "Cache-cou cycliste Trek Thermal",
"price": "19.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41736",
"name": "Bonnet court de cycliste Trek Windshell",
"price": "17.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "46737",
"name": "Casquette cycliste Santini réplique Lidl-Trek",
"price": "15.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 4
}
,
{
"id": "41735",
"name": "Bandeau cycliste Trek Thermal",
"price": "14.99",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "46743",
"name": "Cache-cou cycliste Santini Lidl-Trek",
"price": "11.99",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}