if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37096",
"name": "Trek Velocis Dual Foam Unisex Cycling Glove",
"price": "499.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37097",
"name": "Trek Circuit Twin Gel Unisex Cycling Glove",
"price": "399.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37099",
"name": "Trek Solstice Gel Unisex Cycling Glove",
"price": "299.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Cycling Glove",
"price": "370.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34509",
"name": "Bontrager Velocis Women's Dual Foam Cycling Glove",
"price": "370.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Cycling Glove",
"price": "279.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34513",
"name": "Bontrager Solstice Women's Gel Cycling Glove",
"price": "230.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Cycling Glove",
"price": "230.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "99.5",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "blue_black",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}