Prehľad
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "44.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25852",
"name": "Držák opěrek na aerodynamická řídítka Trek Speed Concept",
"price": "29.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "25847",
"name": "Opěrky na aerodynamická řídítka Trek Speed Concept",
"price": "10.99",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "25841",
"name": "Sada gelových opěrek pro řídítka Bontrager IsoZone",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "14673",
"name": "Sada aerodynamických chráničů na lokty Bontrager Aero Arm Pads Set",
"price": "34.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25840",
"name": "Sada opěrek na řídítka Bontrager Race X Lite IsoZone",
"price": "24.99",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "14672",
"name": "Aerodynamické chrániče na lokty Bontrager Aero Arm Pads",
"price": "22.49",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}