if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"id": "48470",
"name": "Rail+ 8 Gen 5",
"price": "80099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "48458",
"name": "Rail+ 5 Gen 5",
"price": "67799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "48454",
"name": "Rail+ 9.9 XX AXS T-Type Gen 5",
"price": "160199.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "48472",
"name": "Rail+ 9.9 X0 AXS T-Type Gen 5",
"price": "147899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "48452",
"name": "Rail+ 9.8 XT Gen 5",
"price": "104799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "48465",
"name": "Rail+ 9.8 GX AXS T-Type Gen 5",
"price": "104799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "48463",
"name": "Rail+ 9.7 Gen 5",
"price": "86299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41527",
"name": "Rail 8 GX AXS T-Type Gen 3",
"price": "71999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tealdark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36991",
"name": "Rail 7 Gen 3",
"price": "54399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36990",
"name": "Rail 5 625W Gen 3",
"price": "51999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41579",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "140799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "41662",
"name": "Rail 9.8 GX AXS T-Type Gen 4",
"price": "103499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "37027",
"name": "Rail 9.8 XT Gen 4",
"price": "87299.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "37015",
"name": "Rail 9.7 Gen 4",
"price": "60399.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "41679",
"name": "Rail 9.5 Gen 4",
"price": "53799.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36992",
"name": "Rail 9 Gen 3",
"price": "83899.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "35033",
"name": "Rail 5 625W Gen 2",
"price": "57099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red_greydark",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "37066",
"name": "Rail 9.9 XTR Gen 4",
"price": "126499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35336",
"name": "Rail 9.5 Gen 2",
"price": "69099.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange_greydark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35038",
"name": "Rail 9.7 Gen 2",
"price": "64574.25",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "greydark_black",
"list": "CATEGORY",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}