if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "46229",
"name": "Trek 2024 Emonda SL 700c Rigid Fork",
"price": "479.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white_black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "41306",
"name": "Trek Domane SL 6 Gen 4 700c Rigid Fork",
"price": "499.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47876",
"name": "Trek Checkpoint SL Gen 3 700c Rigid Fork",
"price": "419.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "36135",
"name": "Trek Madone SL Seatmast",
"price": "559.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "48091",
"name": "Trek Madone SL Gen 8 700c Rigid Fork",
"price": "639.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "45134",
"name": "Trek Checkpoint ALR 700c Rigid Fork",
"price": "419.99",
"brand": "Trek",
"category": "Bike forks",
"variant": "greendark_pink",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "26638",
"name": "Trek Madone SLR Seatmast",
"price": "559.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "red_white",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "12798",
"name": "Electra Heartchya 20˝ Chainguard",
"price": "19.99",
"brand": "Electra",
"category": "Bike chainguards & chain cases",
"variant": "white",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}