Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "37097",
"name": "Guante para Ciclismo Unisex Trek Circuit Twin Gel",
"price": "949.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 1
}
,
{
"id": "37099",
"name": "Guante Solstice Trek Unisex para Ciclismo de Gel",
"price": "749.0",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 2
}
,
{
"id": "34509",
"name": "Guante de Ciclismo Bontrager Velocis Dual Foam para Damas",
"price": "1069.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37510",
"name": "Guante de Ciclismo del Equipo Santini Trek-Segafredo para damas",
"price": "989.0",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "bluelight",
"list": "More Options",
"position": 4
}
,
{
"id": "37509",
"name": "Guante de ciclismo del equipo Santini Trek-Segafredo para hombres",
"price": "989.0",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 5
}
,
{
"id": "34505",
"name": "Guante de Ciclismo Bontrager Circuit Twin Gel",
"price": "899.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "34507",
"name": "Guante de Ciclismo Bontrager Solstice Gel",
"price": "649.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "14972",
"name": "Guantes de Ciclismo Bontrager Circuit",
"price": "389.0",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "teal_black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}