if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "13271",
"name": "Pláště pro fatbiky Bontrager Gnarwhal",
"price": "129.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "12996",
"name": "Pláště Bontrager Barbegazi pro fatbiky",
"price": "129.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23935",
"name": "Cheng Shin Kids' + MTB Tire",
"price": "29.99",
"brand": "Cheng Shin",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}