if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33524",
"name": "District+ 4",
"price": "2319.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33525",
"name": "District+ 4 Lowstep",
"price": "2319.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35071",
"name": "Top Fuel 5",
"price": "2294.15",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "27981",
"name": "District+ 2",
"price": "2239.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "2079.2",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "29112",
"name": "Verve+ 1 Lowstep",
"price": "1539.3",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "35112",
"name": "X-Caliber 9",
"price": "1125.03",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "919.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35104",
"name": "Dual Sport 3 Gen 4",
"price": "785.4",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "33510",
"name": "Verve 2 Equipped Lowstep",
"price": "760.5",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33509",
"name": "Verve 2 Equipped",
"price": "760.5",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33148",
"name": "Marlin 7 Gen 2",
"price": "730.5",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenlight_black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "24065",
"name": "Wahoo 24",
"price": "430.5",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black_greenvisibility",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "17476",
"name": "Kickster",
"price": "183.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 14
}
]
}
});
} else {
console.log("dataLayer");
}