Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "36899",
"name": "Beryll 160 Gen 3 (Cadre: bas)",
"price": "3849.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "More Options",
"position": 1
}
,
{
"id": "36900",
"name": "Beryll Esprit Gen 3 (Cadre: bas)",
"price": "3649.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36901",
"name": "Beryll Esprit RT Gen 3 (Cadre: bas)",
"price": "3649.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36902",
"name": "Beryll RT Gen 3 (Cadre: bas)",
"price": "3449.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "35466",
"name": "Beryll Esprit+ (Cadre: bas)",
"price": "3099.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "35465",
"name": "Beryll Deluxe+ RT (Cadre: bas)",
"price": "2899.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "35464",
"name": "Beryll Deluxe+ (Cadre: bas)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "white",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}