if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "27590",
"name": "Silniční pláště Bontrager R3 Hard-Case Lite",
"price": "44.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27392",
"name": "Silniční pláště Bontrager R2 Hard-Case Lite",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "11024",
"name": "Silniční pláště Bontrager AW1 Hard-Case",
"price": "26.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "10959",
"name": "Silniční pláště Bontrager AW1 Hard-Case Lite",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "08646",
"name": "Silniční plášť Bontrager R1",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}