if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36978",
"name": "Émonda SL 7 AXS",
"price": "45000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35046",
"name": "Émonda SL 7",
"price": "42000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35029",
"name": "Émonda SL 6 AXS",
"price": "34000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36974",
"name": "Émonda SL 5",
"price": "20000.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}