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": "37098",
"name": "Luvas Integrais de Ciclismo Trek Circuit Twin Gel Unissexo",
"price": "34.99",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "37106",
"name": "Luvas de Montanha Trek Evoke Unissexo",
"price": "23.99",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "31923",
"name": "Luvas de montanha 100% Ridecamp",
"price": "24.99",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}