Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "48049",
"name": "Manubrio/Poste de Manubrio integrados Trek Aero RSL Road",
"price": "13499.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "13661",
"name": "Madone KVF Aero Integrated Handlebar/Stem",
"price": "13920.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "35019",
"name": "Manubrio y poste de manubrio Bontrager RSL MTB",
"price": "8499.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "48102",
"name": "Trek Aero RSL Barstem Bearing Top Cover",
"price": "592.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "47609",
"name": "Trek Aero RSL Barstem Bearing Top Cover - Low",
"price": "264.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "48104",
"name": "Trek Aero RSL Barstem Top Cover",
"price": "243.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "48103",
"name": "Trek Aero RSL Barstem Headset Spacers",
"price": "56.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "41756",
"name": "Trek Madone SLR Gen 7 Barstem",
"price": "8198.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 8
}
,
{
"id": "34815",
"name": "Trek Aeolus BarStem Routing Cover",
"price": "1305.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "44564",
"name": "Juego de Manubrio y Poste Aeolus de Bontrager RSL VR-C",
"price": "13999.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "greydark",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}