Přehled
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "CZK",
"impressions": [
{
"id": "13656",
"name": "Trek Madone 9 Aero Integrated Brake",
"price": "5800.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24977",
"name": "Trek Madone SLR Brakes",
"price": "5800.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "30897",
"name": "Brzdy pro přímou montáž Bontrager Speed Stop Pro",
"price": "5800.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "12287",
"name": "Brzdy Trek Speed Concept",
"price": "3550.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "12787",
"name": "Brzdový třmen Electra Townie Lee-Chi HV-126",
"price": "580.0",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "14028",
"name": "Náhradní brzdy pro Electra Loft",
"price": "520.0",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 6
}
,
{
"id": "10775",
"name": "Lee Chi Long Reach Brake Caliper",
"price": "360.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}