if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "41734",
"name": "Calentadores de piernas térmicos para ciclismo Trek",
"price": "1459.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41731",
"name": "Calentadores de Brazos Térmicos para Ciclismo Trek",
"price": "999.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41235",
"name": "Cubrebrazos para Ciclismo Trek UV Sunstop",
"price": "759.0",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "25032",
"name": "Calentadores de piernas térmicos para ciclismo Bontrager",
"price": "1459.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25028",
"name": "Calentadores de brazos térmicos para ciclismo Bontrager",
"price": "999.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "22817",
"name": "Cubrebrazos para Ciclismo Bontrager UV Sunstop",
"price": "759.0",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}