if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41526",
"name": "Fuel EXe 9.7",
"price": "72000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47094",
"name": "Slash+ 9.7 SLX/XT",
"price": "76500.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41554",
"name": "Fuel EXe 8 XT",
"price": "63000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "tan",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36792",
"name": "Rail 7 3ª geração",
"price": "66500.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41986",
"name": "Rail 9.9 X0 AXS T-Type 4ª Geração",
"price": "103999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"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": 6
}
,
{
"id": "37028",
"name": "Rail 9.8 XT 4ª Geração",
"price": "82999.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "37026",
"name": "Rail 9.7 4ª Geração",
"price": "66599.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36791",
"name": "Rail 5 3ª Geração",
"price": "47000.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "reddark",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "36375",
"name": "Fuel EXe 9.8",
"price": "85499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "36365",
"name": "Fuel EXe 9.7",
"price": "69499.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 11
}
,
{
"id": "36374",
"name": "Fuel EXe 9.5",
"price": "57689.0",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 12
}
]
}
});
} else {
console.log("dataLayer");
}