Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "41738",
"name": "Cagoule de cycliste Trek coupe-vent",
"price": "27.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "41739",
"name": "Cache-cou cycliste Trek Thermal",
"price": "22.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41737",
"name": "Casquette pour cycliste Trek Windshell",
"price": "22.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41736",
"name": "Bonnet court de cycliste Trek Windshell",
"price": "19.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41735",
"name": "Bandeau cycliste Trek Thermal",
"price": "17.0",
"brand": "Trek",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22822",
"name": "Casquette de cyclisme Bontrager Classic",
"price": "13.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "pinkdark_black",
"list": "More Options",
"position": 6
}
,
{
"id": "46743",
"name": "Cache-cou cycliste Santini Lidl-Trek",
"price": "13.0",
"brand": "Santini",
"category": "Cycling caps & headwear",
"variant": "bluedark_yellow",
"list": "More Options",
"position": 7
}
,
{
"id": "27190",
"name": "Casquette pour cycliste Bontrager Adventure",
"price": "9.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "grey",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}