if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37419",
"name": "Madone SLR 9 7ª Geração",
"price": "107999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37025",
"name": "Madone SLR 7 7ª Geração",
"price": "75999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37417",
"name": "Madone SLR 6 AXS 7ª Geração",
"price": "70499.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41467",
"name": "Madone SL 7 7ª Geração",
"price": "61299.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41466",
"name": "Madone SL 6 7ª Geração",
"price": "44999.99",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}