if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "35136",
"name": "District+ 6 Lowstep 500Wh",
"price": "2804.15",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35065",
"name": "Slash 7 Gen 5",
"price": "2719.2",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30697",
"name": "District+ 6 Lowstep 400Wh",
"price": "2634.15",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32900",
"name": "Verve+ 3 Lowstep",
"price": "2549.15",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "32899",
"name": "Verve+ 3",
"price": "2549.15",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "32884",
"name": "Fuel EX 7 gen 5",
"price": "2399.25",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_red",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33524",
"name": "District+ 4",
"price": "2159.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33525",
"name": "District+ 4 Lowstep",
"price": "2159.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "27981",
"name": "District+ 2",
"price": "2079.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "1999.2",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "35112",
"name": "X-Caliber 9",
"price": "1169.1",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "819.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "33148",
"name": "Marlin 7 gen 2",
"price": "693.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_black",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "33509",
"name": "Verve 2 Equipped",
"price": "693.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "33510",
"name": "Verve 2 Equipped Lowstep",
"price": "693.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "393.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black_greenvisibility",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "17476",
"name": "Kickster",
"price": "168.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 17
}
]
}
});
} else {
console.log("dataLayer");
}