if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "37365",
"name": "Trek Circuit langermet termosykkeltrøye",
"price": "899.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13446",
"name": "Bontrager Velocis termoseleshorts med inForm",
"price": "1119.3",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44126",
"name": "Santini Trek-Segafredo Men's Team Replica LS Thermal Race Jersey",
"price": "824.25",
"brand": "Santini",
"category": "Road bike jerseys",
"variant": "white_red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24720",
"name": "Bontrager Velocis Softshell Cycling Glove",
"price": "749.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Glove",
"price": "499.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "24722",
"name": "Bontrager Circuit Thermal Cycling Glove",
"price": "299.0",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}