Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "23383",
"name": "Mycí přípravek na kolo Bontrager",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "23386",
"name": "Mazivo Bontrager",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23382",
"name": "Odmašťovač Bontrager",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "32120",
"name": "Tektro Hydraulic Brake Fluid",
"price": "10.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "More Options",
"position": 4
}
,
{
"id": "26798",
"name": "Bontrager Grease Gun",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "23384",
"name": "Lešticí přípravek Bontrager na kola",
"price": "13.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 6
}
,
{
"id": "23385",
"name": "Montážní mazivo Bontrager Assembly Lube",
"price": "11.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "32664",
"name": "Loctite Hysol 9460 Epoxy Adhesive - 50ml",
"price": "59.99",
"brand": "Loctite",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 8
}
,
{
"id": "32461",
"name": "Trek Supercaliber Strut Service Lubricant 10 Weight",
"price": "22.49",
"brand": "Maxima",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}