if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "36569",
"name": "Meias de Lã Merino Trek Race Crew",
"price": "17.99",
"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": "19.99",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36532",
"name": "Meias de Ciclismo Refletoras Trek Race Crew",
"price": "16.14",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36534",
"name": "Meias de Ciclismo Trek Race Crew",
"price": "14.44",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36533",
"name": "Meias de Ciclismo Trek Race Quarter",
"price": "12.74",
"brand": "Trek",
"category": "Men's cycling socks",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}