if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "40804",
"name": "District 4 Midstep",
"price": "21999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40803",
"name": "District 4 Equipped",
"price": "21999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40509",
"name": "District 3 Equipped",
"price": "16999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "40510",
"name": "District 3 Midstep",
"price": "16999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40504",
"name": "FX 3 Equipped",
"price": "14699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40505",
"name": "FX 3 Equipped Midstep",
"price": "14699.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "40819",
"name": "FX 3 Gen 4",
"price": "13999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40494",
"name": "District 2 Equipped",
"price": "12299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40495",
"name": "District 2 Lowstep",
"price": "12299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "40492",
"name": "District 1 Equipped",
"price": "10999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "40493",
"name": "District 1 Lowstep",
"price": "10999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "40506",
"name": "FX 2 Equipped",
"price": "10499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "40507",
"name": "FX 2 Equipped Stagger",
"price": "10499.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "40816",
"name": "FX 2 Stagger Gen 4",
"price": "8599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "40815",
"name": "FX 2 Gen 4",
"price": "8599.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "40813",
"name": "FX 1 Gen 4",
"price": "7299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "47256",
"name": "FX Sport 6",
"price": "36799.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "bronze_black",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "47263",
"name": "FX Sport 5",
"price": "28199.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35787",
"name": "FX Sport 6",
"price": "35299.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "35786",
"name": "FX Sport 5",
"price": "26999.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "40822",
"name": "FX Sport 4",
"price": "22099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "6099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "32770",
"name": "FX 1 Stagger Gen 3",
"price": "4899.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}