if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32925",
"name": "Unior Spoke Tension Meter",
"price": "100.0",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36764",
"name": "Unior 160mm Side Cutters",
"price": "34.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "14193",
"name": "Unior 140mm Side Cutters",
"price": "29.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36475",
"name": "Unior Spoke Nipple Driver",
"price": "24.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36491",
"name": "Unior Spoke, Bearing & Cotter Gauge",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "42097",
"name": "Unior Spoke Tension Meter Spring",
"price": "11.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}