if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "NOK",
"impressions": [
{
"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": 1
}
,
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS Gen 4",
"price": "141699.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS Gen 4",
"price": "110899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41657",
"name": "Fuel EXe 9.9 XX AXS T-Type",
"price": "174499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41645",
"name": "Fuel EX 9.9 XX AXS T-Type Gen 6",
"price": "149499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41574",
"name": "Fuel EXe 9.9 X0 AXS T-Type",
"price": "149499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "41579",
"name": "Rail 9.9 X0 AXS T-Type Gen 4",
"price": "142999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41576",
"name": "Fuel EX 9.9 X0 AXS T-Type Gen 6",
"price": "117999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-Type Gen 3",
"price": "112299.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-Type Gen 3",
"price": "87399.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}