Visión general
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "23170",
"name": "Soporte para Casco de Bicicleta Bontrager Blendr Circuit Mips",
"price": "441.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "28852",
"name": "Soporte Blendr para Casco de Bici Trek/Bontrager WaveCel",
"price": "362.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "37953",
"name": "Bontrager Circuit WaveCel Blendr Bike Helmet Mount",
"price": "243.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "13492",
"name": "Soporte para Casco de Bontrager",
"price": "729.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}