if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44489",
"name": "Bontrager Gunnison Pro XR TLR MTB Tyre",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13586",
"name": "Bontrager SE4 Team Issue TLR MTB Tyre",
"price": "74.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13585",
"name": "Bontrager XR4 Team Issue TLR MTB Tyre",
"price": "42.49",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38226",
"name": "Pirelli Scorpion E-MTB R E-bike Tyre",
"price": "79.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38374",
"name": "Pirelli Scorpion Enduro M MTB Tyre",
"price": "74.99",
"brand": "Pirelli",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22118",
"name": "Schwalbe Super Moto-X GreenGuard 27.5" MTB Tire",
"price": "59.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}