if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36829",
"name": "Trek 2022 Top Fuel 29 Bottom Bracket Cable Guide",
"price": "130.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "13864",
"name": "Tampão cego do tubo inferior Control Freak Trek",
"price": "95.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "26197",
"name": "Trek Foam Housing Sleeve",
"price": "85.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "36853",
"name": "Trek 2022 Supercaliber 29 AXS Chainstay Plug",
"price": "40.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34771",
"name": "Trek Boone Internal Housing Grommet",
"price": "30.0",
"brand": "Trek",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}