if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41572",
"name": "Fuel EX 9.8 GX AXS T-Type 6ª Geração",
"price": "59990.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36348",
"name": "Fuel EX 8 6ª Geração",
"price": "16500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41576",
"name": "Fuel EX 9.9 X0 AXS T-Type 6ª Geração",
"price": "79999.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}