if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "35322",
"name": "Calcetines de ciclismo Bontrager Race Crew",
"price": "22.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "24826",
"name": "Calcetines de ciclismo Bontrager Race Crew",
"price": "22.99",
"brand": "Bontrager",
"category": "Cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36532",
"name": "Calcetines de ciclismo Trek Race Reflective Crew",
"price": "22.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36534",
"name": "Calcetines de ciclismo Trek Race Crew",
"price": "22.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}