if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "23403",
"name": "Bontrager Commuter Fluid Bike Saddle",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21588",
"name": "Bontrager Commuter Comp Bike Saddle",
"price": "499.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14011",
"name": "Bontrager Sport Bike Saddle",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14012",
"name": "Bontrager Sport Women's Bike Saddle",
"price": "349.0",
"brand": "Bontrager",
"category": "Bike saddles",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "22644",
"name": "Trek Retro Textile Saddle",
"price": "349.0",
"brand": "Trek",
"category": "Bike saddles",
"variant": "brown",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}