if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41526",
"name": "Fuel EXe 9.7",
"price": "86500.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41656",
"name": "Fuel EXe 9.8 GX AXS T-Type",
"price": "98000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36375",
"name": "Fuel EXe 9.8",
"price": "85499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36365",
"name": "Fuel EXe 9.7",
"price": "69499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36374",
"name": "Fuel EXe 9.5",
"price": "57689.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}