if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "47131",
"name": "Domane SL 6 Gen 4",
"price": "",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47133",
"name": "Bontrager RSL 27.2 Seatpost 7x10mm Saddle Clamp Ears",
"price": "",
"brand": "Bontrager",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "48017",
"name": "FX+ 7 Midstep",
"price": "",
"brand": "Trek",
"category": "Electric hybrid bikes",
"variant": "blue",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "48778",
"name": "Bontrager Line 30 TLR 27.5˝ 6-Bolt QR MTB Wheel",
"price": "",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "47997",
"name": "Boone Disc Frame set",
"price": "",
"brand": "Trek",
"category": "Cyclocross bikes",
"variant": "greenlight_pink",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "52585",
"name": "Bontrager Line Comp 30 TLR Boost 27.5 MTB Wheel",
"price": "",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "57370",
"name": "Procaliber 8",
"price": "",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}