Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "44940",
"name": "Trek Ballista Mips Helmet Fit System",
"price": "609.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "44112",
"name": "Trek Velocis Mips Helmet Fit System",
"price": "609.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "44096",
"name": "Trek Bike Helmet Fit System - Headmaster 3",
"price": "487.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "37951",
"name": "Bontrager Circuit WaveCel BOA Helmet Fit System",
"price": "609.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "14222",
"name": "Bontrager Bike Helmet Fit System - Headmaster II",
"price": "442.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "14224",
"name": "Bontrager Bike Helmet Fit System - Micro Manager II",
"price": "331.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28845",
"name": "Sistema de ajuste BOA para casco de ciclismo Bontrager WaveCel",
"price": "678.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "22617",
"name": "Sistema de Ajuste Boa para Cascos de Bicicleta Bontrager Velocis Mips",
"price": "661.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "22317",
"name": "Sistema de Ajuste para Cascos de Bicicleta Bontrager - Boa",
"price": "661.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "33637",
"name": "Sistemas de ajuste para casco de ciclismo Bontrager Jet WaveCel",
"price": "409.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 10
}
,
{
"id": "32639",
"name": "Sistema de Ajuste para Casco de Bicicleta Bontrager Dialed",
"price": "348.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 11
}
,
{
"id": "32635",
"name": "Sistema de Ajuste para Casco de Bicicleta Bontrager Quickset II",
"price": "232.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}