if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41467",
"name": "Madone SL 7 7ª Geração",
"price": "61299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36980",
"name": "Madone SL 7 AXS 6ª Geração",
"price": "45974.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41466",
"name": "Madone SL 6 7ª Geração",
"price": "44999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36959",
"name": "Madone SL 6 Di2 6ª Geração",
"price": "36125.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35084",
"name": "Conjunto de quadro e garfo para disco Madone SL 6ª Geração",
"price": "11499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "bluedark",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}