if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "27337",
"name": "Diamant 2019-2020 Juna+ Front Cargo Rack",
"price": "589.0",
"brand": "Diamant",
"category": "Bike racks",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "42058",
"name": "Bontrager MIK Electric BackRack",
"price": "489.0",
"brand": "Trek-Diamant",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33698",
"name": "Electra Lifestyle Lux ensfarget hjelm",
"price": "449.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34332",
"name": "Electra Gnome Lifestyle Lux sykkelhjelm",
"price": "449.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14127",
"name": "Electra Lifestyle Lux Soft Serve grafisk hjelm",
"price": "449.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "white_teal",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "42059",
"name": "Trek 2021 Allant+/Diamant Zouma+ Rear Cargo Rack",
"price": "329.0",
"brand": "Trek-Diamant",
"category": "Bike racks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35907",
"name": "Electra Slime Lifestyle-hjelm",
"price": "299.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "black_green",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35906",
"name": "Electra Tutti Frutti Lifestyle-hjelm",
"price": "299.5",
"brand": "Electra",
"category": "Bike helmets",
"variant": "pink",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "27086",
"name": "Electra Domed Linear Bike Bell",
"price": "229.0",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30684",
"name": "Electra Bar endespeil",
"price": "199.0",
"brand": "Electra",
"category": "Bike mirrors",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}