if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "MXN",
"impressions": [
{
"id": "36532",
"name": "Calcetines de ciclismo Trek Race Reflective Crew",
"price": "609.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36534",
"name": "Calcetines de ciclismo Trek Race Crew",
"price": "589.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36533",
"name": "Calcetines de ciclismo Trek Race Quarter",
"price": "499.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35320",
"name": "Calcetines de ciclismo Bontrager Race Quarter",
"price": "115.0",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}