if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "59508",
"name": "Trek Ion Pro RT Front Bike Light",
"price": "149.99",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "64292",
"name": "Trek MIK 2.0 Commuter Trunk Bag",
"price": "124.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "47998",
"name": "Trek MIK Studs Single Pannier",
"price": "109.99",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "63403",
"name": "Trek Dual Charger ‑jalkapumppu",
"price": "62.99",
"brand": "Trek",
"category": "Bike pumps & accessories",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41812",
"name": "Digitaalinen Trek BellBeats -pyöräkello ja kaiutin",
"price": "129.99",
"brand": "Trek",
"category": "Bike bells & horns",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22118",
"name": "Schwalbe Super Moto-X GreenGuard 27.5˝ E-bike Tire",
"price": "64.99",
"brand": "Schwalbe",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}