if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "35178",
"name": "Top Fuel 9.7 3ª Geração",
"price": "19500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36789",
"name": "Top Fuel 8 3ª Geração",
"price": "19000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35648",
"name": "Quadro de Carbono Top Fuel e Suspensão Traseira Gen 3",
"price": "15629.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35070",
"name": "Top Fuel 7 3ª Geração",
"price": "15000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35071",
"name": "Top Fuel 5 3ª Geração",
"price": "13000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35649",
"name": "Quadro de Alumínio Top Fuel e Suspensão Traseira Gen 3",
"price": "11959.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}