if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36491",
"name": "Unior Spoke, Bearing & Cotter Gauge",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44623",
"name": "Unior Spoke Nipple Wrench",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42097",
"name": "Unior Spoke Tension Meter Spring",
"price": "11.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25382",
"name": "Bontrager-Electra Fidlock SNAP Helmet Buckle",
"price": "10.99",
"brand": "Bontrager-Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36233",
"name": "Bontrager Integrated Rear Kickstand Hardware Kit",
"price": "7.99",
"brand": "Bontrager-Electra",
"category": "Bike kickstands",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}