if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "30046",
"name": "Alpina Locking Hex Head Brass Nipple Pack of 10",
"price": "10.99",
"brand": "Alpina",
"category": "Spokes",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "26203",
"name": "Jagwire 150mm Nosed 4mm Ferrules Pack of 4",
"price": "10.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "35926",
"name": "Sonnette Electra Oodles of Noodles Domed",
"price": "10.49",
"brand": "Electra",
"category": "Bike bells & horns",
"variant": "greenlight",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "41095",
"name": "Eurofender Stainless Steel Chainstay Clips - Set of 5",
"price": "9.99",
"brand": "Eurofender S.r.l.",
"category": "Bike fenders & accessories",
"variant": "greylight",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "34280",
"name": "Bontrager 5mm Alloy Headset Spacer - Pack of 3",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike headsets",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "31867",
"name": "Trek Head Tube Square Plug - Pack of 4",
"price": "7.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "44153",
"name": "Trek-Diamant Stem Plug S067 - Set of 5",
"price": "4.99",
"brand": "Trek-Diamant",
"category": "Bike stems & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}