if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "29190",
"name": "Verve+ 2 Gen 2",
"price": "1799.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "35054",
"name": "Verve+ 2 Lowstep Gen 2",
"price": "1799.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "35025",
"name": "Verve+ 1 Lowstep",
"price": "1549.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "29110",
"name": "Verve+ 1",
"price": "1549.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greydark",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "41754",
"name": "District+ 5",
"price": "4569.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "40515",
"name": "Verve+ 2 Gen 3",
"price": "3199.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "36911",
"name": "Allant+ 5 Lowstep",
"price": "2869.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "36913",
"name": "Allant+ 5 Stagger",
"price": "2869.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 8
}
,
{
"id": "36916",
"name": "Allant+ 6",
"price": "2699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 9
}
,
{
"id": "40517",
"name": "Verve+ 1 Lowstep",
"price": "2599.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "reddark",
"list": "PRODUCTSEARCH",
"position": 10
}
,
{
"id": "28897",
"name": "District+ 2 Stagger",
"price": "2449.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black_bluelight",
"list": "PRODUCTSEARCH",
"position": 11
}
,
{
"id": "29189",
"name": "Verve+ 2 Stagger Gen 2",
"price": "1799.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 12
}
,
{
"id": "40484",
"name": "Allant+ 5 Stagger",
"price": "2939.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 13
}
,
{
"id": "40483",
"name": "Allant+ 5 Lowstep",
"price": "2939.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 14
}
,
{
"id": "36919",
"name": "Allant+ 6 Lowstep",
"price": "2699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "green",
"list": "PRODUCTSEARCH",
"position": 15
}
,
{
"id": "41755",
"name": "District+ 5 Lowstep",
"price": "4569.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 16
}
,
{
"id": "36973",
"name": "District+ 5",
"price": "4399.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 17
}
,
{
"id": "36940",
"name": "District+ 5 Lowstep",
"price": "4399.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "tan",
"list": "PRODUCTSEARCH",
"position": 18
}
,
{
"id": "41023",
"name": "Allant+ 6",
"price": "3389.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 19
}
,
{
"id": "41025",
"name": "Allant+ 6 Stagger",
"price": "3389.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 20
}
,
{
"id": "41024",
"name": "Allant+ 6 Lowstep",
"price": "3389.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "greendark",
"list": "PRODUCTSEARCH",
"position": 21
}
,
{
"id": "36923",
"name": "Allant+ 6 Stagger",
"price": "2699.0",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 22
}
]
}
});
} else {
console.log("dataLayer");
}