if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "13072",
"name": "Electra Loft 700c däck",
"price": "209.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "brown_white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12712",
"name": "Electra Amsterdam Hybrid 700c däck",
"price": "209.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12716",
"name": "Electra Cruiser Fatti-O 24 tum däck",
"price": "209.0",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12714",
"name": "Electra Townie Original däck",
"price": "164.5",
"brand": "Electra",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "12713",
"name": "Schwalbe Fat Frank Cruiser Tire",
"price": "359.0",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black_reflective",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}