Informacje ogólne
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "PLN",
"impressions": [
{
"id": "13656",
"name": "Trek Madone 9 Aero Integrated Brake",
"price": "950.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30897",
"name": "Zacisk hamulca Bontrager Speed Stop Pro Direct Mount",
"price": "950.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "12287",
"name": "Hamulce Trek Speed Concept",
"price": "590.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13070",
"name": "Zintegrowany hamulec Bontrager Speed Stop",
"price": "560.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black_greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "14028",
"name": "Electra Replacement Loft Brakes",
"price": "84.9",
"brand": "Lee Chi",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "More Options",
"position": 5
}
,
{
"id": "10775",
"name": "Lee Chi Long Reach Brake Caliper",
"price": "59.9",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}