if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "44545",
"name": "Doštičky Sinter zo zmesi Endurance",
"price": "29.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44544",
"name": "Doštičky Sinter zo zmesi Race",
"price": "29.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "green",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44543",
"name": "Doštičky na kotúčové brzdy Sinter zo zmesi Performance",
"price": "29.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44542",
"name": "Doštičky na kotúčové brzdy Sinter zo zmesi Standard",
"price": "14.99",
"brand": "Sinter",
"category": "Bike brakes, pads, & levers",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}