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": "42045",
"name": "Trek 2023 Madone Gen 7 Standard Cockpit Headset Cover",
"price": "190.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "42030",
"name": "Trek Domane MKIV Headset Split Ring",
"price": "110.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38244",
"name": "Trek 2022 Speed Concept Steer Stop",
"price": "50.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "42046",
"name": "Trek E3 Headset Top Cover for Integrated Stem",
"price": "38.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41358",
"name": "Trek Domane MKIV Standard Stem Headset Top Cap",
"price": "38.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "42043",
"name": "Trek 2023 Madone SLR Gen 7 Headset Spacers",
"price": "25.0",
"brand": "Trek",
"category": "Bike headsets",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41992",
"name": "Trek M4x0.7 Button Head Cap Screws",
"price": "9.99",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}