if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "40639",
"name": "Trek Check Script Unisex T-Shirt",
"price": "179.4",
"brand": "Trek",
"category": "T-Shirts",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40640",
"name": "Trek Lake Dreams Unisex T-Shirt",
"price": "179.4",
"brand": "Trek",
"category": "T-Shirts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33800",
"name": "Trek Go By Bike T-Shirt",
"price": "174.5",
"brand": "Trek",
"category": "T-Shirts",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "34504",
"name": "Bontrager Velocis Dual Foam Cycling Glove",
"price": "370.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "34513",
"name": "Bontrager Solstice Women's Gel Cycling Glove",
"price": "230.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "34507",
"name": "Bontrager Solstice Gel Cycling Glove",
"price": "230.3",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22822",
"name": "Bontrager Classic Cycling Cap",
"price": "169.0",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"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
}
,
{
"id": "31923",
"name": "100% Ridecamp Mountain Bike Glove",
"price": "299.0",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}