if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "46146",
"name": "Top Fuel 9.9 XX AXS 4ª Geração",
"price": "105000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "46145",
"name": "Top Fuel 9.9 X0 AXS 4ª Geração",
"price": "85000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "46147",
"name": "Top Fuel 9.8 GX AXS 4ª Geração",
"price": "65000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "46161",
"name": "Top Fuel 9.8 XT 4ª Geração",
"price": "55000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "46142",
"name": "Top Fuel 5 4ª Geração",
"price": "24500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35178",
"name": "Top Fuel 9.7 3ª Geração",
"price": "19500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36789",
"name": "Top Fuel 8 3ª Geração",
"price": "19000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"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": 8
}
,
{
"id": "35070",
"name": "Top Fuel 7 3ª Geração",
"price": "15000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "35071",
"name": "Top Fuel 5 3ª Geração",
"price": "13000.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "orange_black",
"list": "CATEGORY",
"position": 10
}
,
{
"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": 11
}
]
}
});
} else {
console.log("dataLayer");
}