if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "33463",
"name": "Ghostrider Go! 5i",
"price": "35999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33179",
"name": "Ace of Spades Go! 5i",
"price": "35999.0",
"brand": "Electra",
"category": "Electra e-bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}