if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "33044",
"name": "Madone SLR Gen 6 Frameset",
"price": "55999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_reddark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35084",
"name": "Madone SL Disc Gen 6 rammesett",
"price": "52599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "29529",
"name": "Madone SL Frameset",
"price": "47999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33101",
"name": "Domane SLR Disc rammesett Gen 3",
"price": "42999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35073",
"name": "Domane SL Disc-rammesett Gen 3",
"price": "28599.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "28712",
"name": "Domane SL Disc-rammesett Gen 3",
"price": "26999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "17407",
"name": "Domane SLR-rammesett",
"price": "26999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}