Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "47147",
"name": "Bolsa de cuadro Trek Adventure",
"price": "3499.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "47358",
"name": "Bolsa de tubo superior Trek Adventure",
"price": "1199.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "48444",
"name": "Tornillos de Mariposa de Trek - Paquete de 4",
"price": "189.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41673",
"name": "Bolsa Adventure Boss para Cuadro Completo",
"price": "3389.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "313.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "13984",
"name": "Bontrager Pro Speed Box",
"price": "769.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "37387",
"name": "Tornillos de mariposa Bontrager",
"price": "243.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "14025",
"name": "Bontrager Speed Concept Draft Box II Lid",
"price": "232.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "38548",
"name": "Trek 2022 Speed Concept SLR Bento Box Assembly",
"price": "974.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "38003",
"name": "Trek 2022 Speed Concept SLR Bento Box Bucket",
"price": "292.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "38387",
"name": "Trek 2022 Speed Concept SLR Bento Box Divider",
"price": "97.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}