if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "35019",
"name": "Bontrager RSL MTB Handlebar/Stem",
"price": "4699.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24153",
"name": "Bontrager Line Pro Carbon 35 MTB Handlebar",
"price": "1999.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13432",
"name": "Bontrager Kovee Pro Carbon 35 MTB Handlebar",
"price": "1999.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "greydark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22469",
"name": "Bontrager Kovee XXX Carbon 35 MTB styre",
"price": "2699.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}