if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "37018",
"name": "Farley 5",
"price": "2049.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "tealdark_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37020",
"name": "Farley 9,6",
"price": "3589.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40735",
"name": "Kit telaio Farley AL",
"price": "1539.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "24999",
"name": "Kit telaio Farley EX",
"price": "3299.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33744",
"name": "Kit telaio Farley AL",
"price": "1299.0",
"brand": "Trek",
"category": "Fat bikes",
"variant": "bluedark_tealdark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}