Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37096",
"name": "Guante para Ciclismo de Espuma Dual Unisex Trek Velocis",
"price": "62.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "37097",
"name": "Guante para Ciclismo Unisex Trek Circuit Twin Gel",
"price": "50.38",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "More Options",
"position": 2
}
,
{
"id": "37099",
"name": "Guante Solstice Trek Unisex para Ciclismo de Gel",
"price": "39.99",
"brand": "Trek",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "34504",
"name": "Guantes de Ciclismo Bontrager Velocis Dual Foam",
"price": "62.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14975",
"name": "Guantes de Ciclismo Bontrager Meraj para damas",
"price": "49.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "34510",
"name": "Guante de Ciclismo Bontrager Circuit Twin Gel para Damas",
"price": "49.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "14971",
"name": "Guantes de Ciclismo Bontrager Vella para damas",
"price": "49.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "34513",
"name": "Guante de Ciclismo Bontrager Solstice Gel para Damas",
"price": "39.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22489",
"name": "Guante de ciclismo para niños de Bontrager",
"price": "25.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "pinkdark",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}