if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "33777",
"name": "Electra Charcoal Trunk Rear Rack Bag",
"price": "767.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40322",
"name": "Electra Fern Trunk Bag",
"price": "767.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33709",
"name": "Electra Alloy Wire QR frontkurv",
"price": "703.0",
"brand": "Electra",
"category": "Bike baskets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40888",
"name": "Electra MIK bagasjebrett",
"price": "601.0",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36719",
"name": "Electra MIK fram-bagasjebrett",
"price": "511.0",
"brand": "Electra",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40646",
"name": "Electra Triangle Frame Bag",
"price": "402.0",
"brand": "Electra",
"category": "Bike bags",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34405",
"name": "Electra Solid Color Twister sykkelklokke",
"price": "54.5",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}