if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "33340",
"name": "Loft Go! 5i EQ Step-Thru 500 hv",
"price": "33999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34791",
"name": "Loft Go! 5i EQ Step-Thru 400 hv",
"price": "30999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36416",
"name": "Loft Go! 7D EQ Step-Over",
"price": "22499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36417",
"name": "Loft Go! 7D EQ Step-Thru",
"price": "22499.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "pinklight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}