if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "32443",
"name": "Electra Attitude Cruiser Handlebar",
"price": "40.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36170",
"name": "Electra Vale Sandblasted Handlebar",
"price": "35.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31774",
"name": "Electra Townie Original Handlebar",
"price": "35.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36737",
"name": "Electra Townie Sandblasted Handlebar",
"price": "35.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37596",
"name": "Electra 16" Kids' Handlebar",
"price": "35.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "37595",
"name": "Electra 20" Kids' Handlebar",
"price": "30.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "13994",
"name": "Electra Mini Ape Hanger Cruiser Handlebar",
"price": "28.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12765",
"name": "Electra Amsterdam Handlebar",
"price": "27.5",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "32444",
"name": "Electra Café Cruiser Handlebar",
"price": "27.5",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "34014",
"name": "Electra Lenker-Streamer",
"price": "6.0",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "pinkdark_reflective",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}