if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "47148",
"name": "Borsa triangolare Trek Adventure",
"price": "74.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47147",
"name": "Borsa da telaio Trek Adventure",
"price": "119.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "47358",
"name": "Borsa per tubo orizzontale Trek Adventure",
"price": "42.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "PRODUCTSEARCH",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}