if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "48648",
"name": "Trek Lidl-Trek Helmet Decal Set",
"price": "296.0",
"brand": "Trek",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "28791",
"name": "Calcomanías de Trek-Segafredo para Bontrager XXX WaveCel",
"price": "452.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black_white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "09577",
"name": "Calcomanías de Servicios de Seguridad Pública para Casco Bontrager",
"price": "175.0",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}