Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "32593",
"name": "Šroub k instalaci úchytu Blendr Trek na kombinaci řídítek/představce",
"price": "2.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47384",
"name": "Trek Aero RSL Barstem Pro Blendr Mount",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike computers & GPS",
"variant": "black_greydark",
"list": "More Options",
"position": 2
}
,
{
"id": "14579",
"name": "Úchyt s rychloupínákem ke košíkům a úchyt Electra",
"price": "26.99",
"brand": "Electra",
"category": "Bike handlebars",
"variant": "black_greylight",
"list": "More Options",
"position": 3
}
,
{
"id": "41067",
"name": "Hyena Bluetooth HMI Clamp",
"price": "13.99",
"brand": "Hyena",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}