if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "41651",
"name": "Top Fuel 9.9 XX AXS T-typ Gen 3",
"price": "111499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41650",
"name": "Top Fuel 9.9 X0 AXS T-typ Gen 3",
"price": "86599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41646",
"name": "Top Fuel 9.8 GX AXS T-typ Gen 3",
"price": "60099.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "green",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37062",
"name": "Top Fuel 9.8 GX AXS Gen 3",
"price": "53499.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35222",
"name": "Top Fuel 9.8 XT Gen 3",
"price": "50749.3",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41351",
"name": "Top Fuel 8 GX AXS T-typ Gen 3",
"price": "44799.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 Gen 3",
"price": "36999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36789",
"name": "Top Fuel 8 Gen 3",
"price": "34899.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "41378",
"name": "Top Fuel 5 Gen 3",
"price": "25999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35070",
"name": "Top Fuel 7 Gen 3",
"price": "24699.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35071",
"name": "Top Fuel 5 Gen 3",
"price": "20599.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}