if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "33691",
"name": "Trek 2021 Checkpoint SL Control Center Covers",
"price": "14.99",
"brand": "Trek",
"category": "E-bike controllers & parts",
"variant": "orange",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47903",
"name": "Trek Checkpoint SL Gen 3 Chainstay Guard",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47904",
"name": "Trek Checkpoint SL Gen 3 Downtube Armor",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "47907",
"name": "Trek Checkpoint SL Gen 3 IsoSpeed Grommet",
"price": "3.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "37599",
"name": "Trek Checkpoint SL & SLR Gen 2 Chainstay Armor",
"price": "10.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "42050",
"name": "Trek Checkpoint SLR/SL Stainless Chainstay Strike Guard",
"price": "7.99",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "42148",
"name": "RideWrap Matte Covered Frame Protection Kit designed to fit 2022 Trek Gravel/CX",
"price": "80.0",
"brand": "RideWrap",
"category": "Bike frame protection",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}