Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "30734",
"name": "Trek Madone 9 Series Brake Stop with Num Holder",
"price": "522.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "13657",
"name": "Trek Madone 9 Aero Brake Pad Holders",
"price": "464.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "26460",
"name": "Trek Madone SLR Front Brake Cable Stop",
"price": "353.0",
"brand": "Trek",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "22441",
"name": "Tope de Cable para Freno/Di2 de Ruta de Trek",
"price": "255.0",
"brand": "Trek",
"category": "Electronic drivetrain",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "30731",
"name": "Trek Madone 9 Series Brake Stop",
"price": "182.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "25854",
"name": "Trek Speed Concept Aerobar Front Brake Housing Stop",
"price": "139.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25798",
"name": "Bota de caucho de frenos en V Bontrager",
"price": "45.0",
"brand": "Bontrager",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}