if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37487",
"name": "Trek 2022 Rail 9.9 / 9.8 29 1.8" Lower Headset Bearing",
"price": "210.0",
"brand": "Trek",
"category": "Bearings",
"variant": "greylight",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37285",
"name": "Trek Full Suspension Heavy Contact Sealed Bearing 17x26x10mm",
"price": "100.0",
"brand": "Trek",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "37287",
"name": "Trek Full Suspension Heavy Contact Sealed Bearing 20x30x7mm",
"price": "60.0",
"brand": "Trek",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37289",
"name": "Trek Full Suspension Heavy Contact Sealed Bearing 12x21x5mm",
"price": "50.0",
"brand": "Trek",
"category": "Bearings",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}