if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "28576",
"name": "Electra Vinyl Ergo Bike Saddle",
"price": "55.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40275",
"name": "Electra Classic Faux Leather Bike Saddle",
"price": "55.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35707",
"name": "Electra Ziggy Elastomer-Sattel",
"price": "47.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14003",
"name": "Electra Cruiser XL Bike Saddle",
"price": "44.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14002",
"name": "Electra Cruiser Bike Saddle w/Elastomers",
"price": "31.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32678",
"name": "Electra Water Lily Cruiser Bike Saddle",
"price": "30.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white_yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12682",
"name": "Electra Heartchya Cruiser Bike Saddle",
"price": "30.0",
"brand": "Electra",
"category": "Bike saddles",
"variant": "white",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35706",
"name": "Electra Gnome Elastomer Saddle",
"price": "29.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35708",
"name": "Electra Miami Elastomer Sattel",
"price": "29.5",
"brand": "Electra",
"category": "Bike saddles",
"variant": "tan",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}