Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40539",
"name": "Rubin Legere (CUES) (Cadre: moyen)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "orange",
"list": "More Options",
"position": 1
}
,
{
"id": "40538",
"name": "Rubin Legere (CUES) (Cadre: haut)",
"price": "1199.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "orange",
"list": "More Options",
"position": 2
}
,
{
"id": "40525",
"name": "Rubin (CUES) (Cadre: moyen)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "More Options",
"position": 3
}
,
{
"id": "40541",
"name": "Rubin (CUES) (Cadre: haut)",
"price": "999.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "More Options",
"position": 4
}
,
{
"id": "33219",
"name": "Rubin Legere (Cadre: haut)",
"price": "1499.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "33220",
"name": "Rubin Legere (Cadre: haut)",
"price": "1499.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "36915",
"name": "Rubin Legere (Cadre: moyen)",
"price": "1249.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "red",
"list": "More Options",
"position": 7
}
,
{
"id": "36912",
"name": "Rubin (Cadre: moyen)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "More Options",
"position": 8
}
,
{
"id": "36910",
"name": "Rubin (Cadre: haut)",
"price": "799.0",
"brand": "Diamant",
"category": "Diamant City",
"variant": "grey",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}