Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "23365",
"name": "Juego de funda y cable para cambios Bontrager Elite",
"price": "771.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24736",
"name": "Juego de funda y cable para freno Bontrager Elite",
"price": "771.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "23366",
"name": "Juego de funda y cable para cambios Bontrager Comp",
"price": "485.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 3
}
,
{
"id": "24737",
"name": "Juego de funda y cable para freno Bontrager Comp",
"price": "485.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "More Options",
"position": 4
}
,
{
"id": "23277",
"name": "Juego de funda y cable para cambios Bontrager Pro",
"price": "1241.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "24735",
"name": "Juego de funda y cable para freno Bontrager Pro",
"price": "999.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "23364",
"name": "Juego de funda y cable para cambios Bontrager XXX",
"price": "2025.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "24734",
"name": "Juego de funda y cable para freno Bontrager XXX",
"price": "1763.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "23363",
"name": "Juego de funda y cable para cambios Bontrager",
"price": "134.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "24733",
"name": "Juego de funda y cable para freno Bontrager",
"price": "102.0",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}