Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "40540",
"name": "365 Deluxe (CUES) (Cadre: moyen)",
"price": "2399.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 1
}
,
{
"id": "40533",
"name": "365 (Acera) (Cadre: haut)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "40524",
"name": "365 (Acera) (Cadre: moyen)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "35858",
"name": "365 Deluxe (Cadre: haut)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 4
}
,
{
"id": "35859",
"name": "365 Deluxe (Cadre: moyen)",
"price": "2199.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "greendark",
"list": "More Options",
"position": 5
}
,
{
"id": "35857",
"name": "365 (Cadre: moyen)",
"price": "1999.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "35856",
"name": "365 (Cadre: haut)",
"price": "1999.0",
"brand": "Diamant",
"category": "Diamant e-bikes",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}