if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "46152",
"name": "Checkmate SLR 9 AXS",
"price": "135599.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46692",
"name": "Checkmate SLR 7 AXS",
"price": "110899.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "49169",
"name": "Checkmate SLR 8 AXS",
"price": "110899.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greendark_greenlight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46763",
"name": "Checkmate SLR Frameset",
"price": "43099.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}