if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "36933",
"name": "Allant+ 7 Stagger",
"price": "37599.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35853",
"name": "Dual Sport+ 2 Stagger",
"price": "18099.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35003",
"name": "FX 2 Disc Gen 3",
"price": "6099.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32770",
"name": "FX 1 Mid-step Gen 3",
"price": "4899.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32769",
"name": "FX 1 Gen 3",
"price": "4899.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "36945",
"name": "Verve+ 5 Lowstep",
"price": "41999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36931",
"name": "Allant+ 7",
"price": "37599.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36916",
"name": "Allant+ 6",
"price": "34999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36923",
"name": "Allant+ 6 Stagger",
"price": "34999.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "30463",
"name": "Allant+ 7",
"price": "33999.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "30464",
"name": "Allant+ 7 Lowstep",
"price": "33999.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33108",
"name": "District+ 7",
"price": "33599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "35134",
"name": "District+ 8 Lowstep",
"price": "33599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "35140",
"name": "Verve+ 4 Lowstep",
"price": "33199.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "36944",
"name": "Verve+ 4 Lowstep",
"price": "30499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "36941",
"name": "Verve+ 3 Gen 2",
"price": "30499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "36942",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "30499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "36943",
"name": "Verve+ 4",
"price": "30499.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35136",
"name": "District+ 6 Lowstep 500Wh",
"price": "30399.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "36970",
"name": "Allant+ 5",
"price": "30299.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
,
{
"id": "33012",
"name": "District+ 6C Lowstep",
"price": "29599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 21
}
,
{
"id": "32899",
"name": "Verve+ 3 Gen 2",
"price": "27599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 22
}
,
{
"id": "32900",
"name": "Verve+ 3 Lowstep Gen 2",
"price": "27599.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 23
}
]
}
});
} else {
console.log("dataLayer");
}