if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CHF",
"impressions": [
{
"id": "34577",
"name": "Electra Loft Hybrid Tire",
"price": "31.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34706",
"name": "Electra Strat-O-Balloon 24" Cruiser Tire",
"price": "27.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid Tire",
"price": "25.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "13072",
"name": "Electra Loft Tire",
"price": "25.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12716",
"name": "Electra Cruiser Fatti-O Tire",
"price": "25.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "12714",
"name": "Electra Townie Original Tire",
"price": "19.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "21678",
"name": "Electra Lux Fat Tires",
"price": "70.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12713",
"name": "Schwalbe Fat Frank Cruiser Tire",
"price": "40.0",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}