if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "36569",
"name": "Trek Race Crew Merino Wool Cycling Sock",
"price": "199.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36570",
"name": "Trek Race Crew Cushioned Merino Wool Cycling Sock",
"price": "249.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47321",
"name": "Rapha Pro Team Cycling Sock",
"price": "280.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36532",
"name": "Trek Race Reflective Crew sykkelsokker",
"price": "194.65",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36534",
"name": "Trek Race Crew sykkelsokker",
"price": "169.15",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36533",
"name": "Trek Race Quarter sykkelsokk",
"price": "152.15",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "47322",
"name": "Rapha Logo Cycling Sock",
"price": "195.0",
"brand": "Rapha",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37586",
"name": "Santini Trek-Segafredo Men's Team Cycling Sock",
"price": "135.2",
"brand": "Santini",
"category": "Cycling socks",
"variant": "white_red",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "33838",
"name": "Electra Tie Dye sokker",
"price": "169.15",
"brand": "Electra",
"category": "Cycling socks",
"variant": "purple",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33835",
"name": "Electra Surfbird sokker",
"price": "169.15",
"brand": "Electra",
"category": "Cycling socks",
"variant": "blue_greenvisibility",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33836",
"name": "Electra Burger sokker",
"price": "169.15",
"brand": "Electra",
"category": "Cycling socks",
"variant": "tan_red",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}