Présentation
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "40275",
"name": "Electra Classic Faux Leather Bike Saddle",
"price": "55.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28576",
"name": "Selle ergonomique en vinyle Electra",
"price": "44.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "More Options",
"position": 2
}
,
{
"id": "35707",
"name": "Selle Electra Ziggy en élastomère",
"price": "39.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "More Options",
"position": 3
}
,
{
"id": "14003",
"name": "Selle Electra Cruiser XL",
"price": "35.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14002",
"name": "Selle Electra Cruiser avec ressorts en élastomère",
"price": "31.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 5
}
,
{
"id": "35706",
"name": "Selle en élastomère Electra Gnome",
"price": "25.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "35708",
"name": "Selle Electra Miami élastomère",
"price": "25.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "More Options",
"position": 7
}
,
{
"id": "12682",
"name": "Selle Electra Heartchya Cruiser",
"price": "24.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "32678",
"name": "Selle Electra Water Lily Cruiser",
"price": "24.99",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}