Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41416",
"name": "Cinta para Manubrio Trek EcoTack",
"price": "899.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "tealdark",
"list": "More Options",
"position": 1
}
,
{
"id": "23110",
"name": "Cinta de manubrio de corcho con gel de Bontrager",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 2
}
,
{
"id": "22698",
"name": "Cinta de manubrio Bontrager Double Gel Cork",
"price": "629.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "47896",
"name": "Juego de Cintas para Manubrio Trek Perf Line",
"price": "899.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "48089",
"name": "Juego de Cintas para Manubrio de Gel de Corcho Doble de Trek",
"price": "629.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "47893",
"name": "Juego de Cintas para Manubrio de Gel de Corcho de Trek",
"price": "499.0",
"brand": "Trek",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 6
}
,
{
"id": "23111",
"name": "Cinta para manubrio de gel con tacto de corcho Bontrager de alta visibilidad",
"price": "599.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "More Options",
"position": 7
}
,
{
"id": "14104",
"name": "Cinta de manubrio de corcho con gel de Bontrager",
"price": "99.0",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "red",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}