if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36061",
"name": "Chamarra de Ciclismo Trek Circuit Softshell",
"price": "4359.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36063",
"name": "Chamarra de Ciclismo para Lluvia Trek Circuit",
"price": "4359.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36066",
"name": "Trek Circuit Windshell Cycling Jacket",
"price": "3499.0",
"brand": "Trek",
"category": "Cycling jackets",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36065",
"name": "Trek Circuit Windshell Cycling Vest",
"price": "2299.0",
"brand": "Trek",
"category": "Cycling vests",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "30938",
"name": "Chamarra de ciclismo para lluvia Bontrager Circuit",
"price": "1949.0",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "30940",
"name": "Chamarra de ciclismo para viento Bontrager Circuit",
"price": "1949.0",
"brand": "Bontrager",
"category": "Cycling jackets",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}