if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "47073",
"name": "Checkpoint SL 7 AXS Gen 3",
"price": "80099.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47072",
"name": "Checkpoint SL 6 AXS Gen 3",
"price": "56699.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47071",
"name": "Checkpoint SL 5 AXS Gen 3",
"price": "49299.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46765",
"name": "Checkpoint SL Gen 3 Frameset",
"price": "33299.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bronze_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41394",
"name": "Checkpoint SL 7 AXS Gen 2",
"price": "80799.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41397",
"name": "Checkpoint SL 6 AXS Gen 2",
"price": "57199.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "greenlight",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41398",
"name": "Checkpoint SL 5 Gen 2",
"price": "45999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35076",
"name": "Checkpoint SL Frameset",
"price": "30199.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35171",
"name": "Checkpoint SL 7 AXS",
"price": "77199.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "blue_grey",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}