if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "EUR",
"impressions": [
{
"id": "41743",
"name": "Luvas de Inverno Impermeáveis Trek Circuit",
"price": "59.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41744",
"name": "Luvas de Ciclismo Trek Circuit Windshell",
"price": "49.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41745",
"name": "Luvas de ciclismo térmicas Trek Circuit",
"price": "39.99",
"brand": "Trek",
"category": "Men's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31923",
"name": "Luvas de montanha 100% Ridecamp",
"price": "24.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}