if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33187",
"name": "District+ 9 Lowstep",
"price": "3439.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "33186",
"name": "District+ 9",
"price": "3439.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30463",
"name": "Allant+ 7",
"price": "3039.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35140",
"name": "Verve+ 4 Lowstep",
"price": "2879.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35135",
"name": "District+ 8",
"price": "2879.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "33108",
"name": "District+ 7",
"price": "2879.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33109",
"name": "District+ 7 Lowstep",
"price": "2879.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "35148",
"name": "Verve+ 4",
"price": "2879.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "35134",
"name": "District+ 8 Lowstep",
"price": "2879.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35136",
"name": "District+ 6 Lowstep 500Wh",
"price": "2719.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "33014",
"name": "District+ 6 Lowstep",
"price": "2559.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "33013",
"name": "District+ 6",
"price": "2559.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
,
{
"id": "32900",
"name": "Verve+ 3 Lowstep",
"price": "2399.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 13
}
,
{
"id": "32899",
"name": "Verve+ 3",
"price": "2399.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 14
}
,
{
"id": "33525",
"name": "District+ 4 Lowstep",
"price": "2239.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 15
}
,
{
"id": "33524",
"name": "District+ 4",
"price": "2239.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "CATEGORY",
"position": 16
}
,
{
"id": "27981",
"name": "District+ 2",
"price": "2159.2",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark_grey",
"list": "CATEGORY",
"position": 17
}
,
{
"id": "33494",
"name": "District 2 Equipped Lowstep",
"price": "819.2",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 18
}
,
{
"id": "35104",
"name": "Dual Sport 3 Gen 4",
"price": "742.9",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 19
}
,
{
"id": "33510",
"name": "Verve 2 Equipped Lowstep",
"price": "693.0",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "red",
"list": "CATEGORY",
"position": 20
}
]
}
});
} else {
console.log("dataLayer");
}