if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "36569",
"name": "Calcetines para ciclismo de lana merina Trek Race Crew",
"price": "",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36570",
"name": "Trek Race Crew Cushioned Merino Wool Cycling Sock",
"price": "",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36532",
"name": "Calcetines de ciclismo Trek Race Reflective Crew",
"price": "",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36533",
"name": "Calcetines de ciclismo Trek Race Quarter",
"price": "",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36534",
"name": "Calcetines de ciclismo Trek Race Crew",
"price": "",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}