Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40537",
"name": "Ubari (Acera) (Cadre: bas)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40542",
"name": "Ubari (Acera) (Cadre: haut)",
"price": "899.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "33181",
"name": "Ubari (Cadre: haut)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "33180",
"name": "Ubari (Cadre: haut)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "33183",
"name": "Ubari Deluxe (Cadre: bas)",
"price": "749.0",
"brand": "Diamant",
"category": "Diamant Trekking®",
"variant": "greenlight",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}