if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "28292",
"name": "Precaliber 16",
"price": "2849.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pink",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35001",
"name": "FX 1 Disc 3ª Geração",
"price": "2800.0",
"brand": "Trek",
"category": "Fitness bikes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36824",
"name": "Dual Sport 1 5ª Geração",
"price": "2800.0",
"brand": "Trek",
"category": "Dual Sport bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "26793",
"name": "Precaliber 12",
"price": "2799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "blue",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "26794",
"name": "Precaliber 12",
"price": "2799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
]
}
});
} else {
console.log("dataLayer");
}