Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36181",
"name": "Electra Brake Rotor Spacer",
"price": "",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "33209",
"name": "Tektro Brake Mount M6 Hardware Bolts",
"price": "",
"brand": "Tektro",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26574",
"name": "Trek Madone SLR Brake Wedges",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14989",
"name": "Cuñas de freno Trek Speed Concept (V2)",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45093",
"name": "Rock Shox 1.5mm Brake Adapter Spacers for 203mm Rotors",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "26172",
"name": "Trek Madone 9 Integrated Brake Wedge",
"price": "",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}