if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "13585",
"name": "Bontrager XR4 Team Issue TLR MTB Tyre",
"price": "42.49",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13271",
"name": "Bontrager Gnarwhal Fat Bike Tyre",
"price": "129.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12996",
"name": "Bontrager Barbegazi Fat Bike Tyre",
"price": "129.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}