if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41348",
"name": "Domane SL 5 4ª Geração",
"price": "29500.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35022",
"name": "Émonda SLR 6 AXS",
"price": "58999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"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
}
]
}
});
} else {
console.log("dataLayer");
}