Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "22373",
"name": "Univerzální nástroj Bontrager Comp",
"price": "14.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30807",
"name": "Bontrager BITS integrovaný multifunkčný nástroj",
"price": "36.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "07799",
"name": "Bontrager Tire Lever Set",
"price": "4.99",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "red",
"list": "More Options",
"position": 3
}
,
{
"id": "41411",
"name": "Multifunkčné náradie Trek Pro BITS",
"price": "79.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "44751",
"name": "Multifunkčné náradie Trek Elite BITS",
"price": "49.99",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "21794",
"name": "Sada duší a lepení Bontrager Flat Pack",
"price": "54.99",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "26602",
"name": "Nástroj pro přepínací páčku Bontrager",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike wheels",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36257",
"name": "Unior Multitool EURO17",
"price": "44.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 8
}
,
{
"id": "22651",
"name": "Unior Multitool EURO13",
"price": "39.99",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 9
}
,
{
"id": "36259",
"name": "Unior Multitool EURO7",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 10
}
,
{
"id": "36258",
"name": "Unior Multitool EURO6",
"price": "17.49",
"brand": "Unior",
"category": "Bike tools & maintenance",
"variant": "red_orange",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}