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": "349.0",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}