if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "29099",
"name": "Townie Path Go! 5i Step-Thru",
"price": "39999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "26949",
"name": "Townie Path Go! 10D EQ Step-Over",
"price": "39999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26950",
"name": "Townie Path Go! 10D EQ innsteg",
"price": "39999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34901",
"name": "Townie Commute Go! 5i EQ innsteg",
"price": "34999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34900",
"name": "Townie Commute Go! 5i EQ oversteg",
"price": "34999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33005",
"name": "Townie Go! 5i EQ oversteg",
"price": "34999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33006",
"name": "Townie Go! 5i EQ innsteg",
"price": "34999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35275",
"name": "Townie Go!7D EQ innsteg",
"price": "22999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "orangelight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}