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": "47148",
"name": "Bolsa Triangular Trek Adventure",
"price": "2199.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "47358",
"name": "Bolsa de tubo superior Trek Adventure",
"price": "1199.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black_greylight",
"list": "More Options",
"position": 3
}
,
{
"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": 4
}
,
{
"id": "41673",
"name": "Bolsa Adventure Boss para Cuadro Completo",
"price": "3389.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "22621",
"name": "Sistema de Arnés para Portabultos Trasero Trek 1120",
"price": "2363.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "45082",
"name": "Trek Waterproof Buckled NIP Bag",
"price": "313.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35560",
"name": "Bolsa Adventure para asiento de Bontrager",
"price": "3899.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "35559",
"name": "Bolsa Adventure para manubrio de Bontrager",
"price": "3599.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "34744",
"name": "Bontrager Rapid Pack Hydro",
"price": "3399.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "14798",
"name": "Bontrager Rapid Pack",
"price": "1689.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}