if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "SEK",
"impressions": [
{
"id": "65452",
"name": "Trek-Diamant Post Mount to Flat Mount Adapter Front & Rear",
"price": "119.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "10847",
"name": "VP Components A77CK1 Semi-Integrated Lower - Standard Upper Headset",
"price": "179.0",
"brand": "VP Components",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "11552",
"name": "Zoom HL-280 Disc Brake Pad",
"price": "36.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "35586",
"name": "Bontrager Connection Nexus 29˝ MTB Wheel",
"price": "3499.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "35588",
"name": "Bontrager Connection Alfine 700c Wheel",
"price": "3849.0",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}