Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40886",
"name": "Elan Super Deluxe (Cadre: haut)",
"price": "1499.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "40887",
"name": "Elan Super Deluxe (Cadre: moyen)",
"price": "1499.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "40528",
"name": "Elan Deluxe (CUES) (Cadre: moyen)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "green_blue",
"list": "More Options",
"position": 3
}
,
{
"id": "40531",
"name": "Elan Deluxe (CUES) (Cadre: haut)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "brown",
"list": "More Options",
"position": 4
}
,
{
"id": "40534",
"name": "Elan (CUES) (Cadre: moyen)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "40523",
"name": "Elan (CUES) (Cadre: haut)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "grey",
"list": "More Options",
"position": 6
}
,
{
"id": "33542",
"name": "Elan Super Deluxe (Cadre: moyen)",
"price": "1149.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greydark",
"list": "More Options",
"position": 7
}
,
{
"id": "33546",
"name": "Elan Deluxe (Cadre: haut)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "33547",
"name": "Elan Deluxe (Cadre: moyen)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "red",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}