if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "25400",
"name": "Bontrager 23AE Computer Battery",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13376",
"name": "Baterie pro cyklopočítač CR2032, 5 ks",
"price": "10.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "32727",
"name": "Baterie CR1632 do cyklopočítače Bontrager",
"price": "3.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}