if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "35905",
"name": "Casque Electra Miami Lifestyle",
"price": "47.0",
"brand": "Electra",
"category": "Bike helmets",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35897",
"name": "Étui pour téléphone Electra Miami",
"price": "39.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35708",
"name": "Selle Electra Miami élastomère",
"price": "29.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35899",
"name": "Sacoche de selle Electra Miami",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35893",
"name": "Sacoche de cintre Electra Miami",
"price": "28.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35712",
"name": "Poignées en caoutchouc Electra Miami",
"price": "23.0",
"brand": "Electra",
"category": "Bike handlebar grips & tape",
"variant": "tan",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}