Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41170",
"name": "Trek Speed Concept Arm Pad Set",
"price": "1218.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25852",
"name": "Trek Speed Concept Aerobar Pad Holder Wing",
"price": "696.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44556",
"name": "Trek Speed Concept Gen 3 Aerobar Replacement Pads",
"price": "262.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14673",
"name": "Juego de acolchonados de espuma aerodinámicos para brazos Bontrager",
"price": "905.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "25840",
"name": "Bontrager Race X Lite IsoZone Handlebar Pad Kit",
"price": "578.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "14672",
"name": "Acolchonados de espuma aerodinámicos para brazos Bontrager",
"price": "543.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "25841",
"name": "Juego de almohadillas para manubrio de gel Bontrager IsoZone",
"price": "514.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "white",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}