if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "27290",
"name": "Těsnicí tmel Bontrager pro bezdušové pláště TLR",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12968",
"name": "Vstřikovač těsnicího tmelu Bontrager TLR",
"price": "17.49",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}