if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "27172",
"name": "Electra Café Moto Go! Lampfäste för sadel",
"price": "179.0",
"brand": "Electra",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41839",
"name": "Electra Townie 7D Fender Hardware Set",
"price": "90.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42250",
"name": "Electra PVC Light Wire Sleeve",
"price": "45.0",
"brand": "Electra",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}