if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "47318",
"name": "Rapha Brevet Cycling Gilet",
"price": "1650.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47316",
"name": "Rapha Core Cycling Gilet",
"price": "1050.0",
"brand": "Rapha",
"category": "Cycling vests",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "639.2",
"brand": "Trek",
"category": "Cycling vests",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}