if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37480",
"name": "Trek 2022 Rail 29 Motor Armor",
"price": "630.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40298",
"name": "TQ HPR Lock Ring Set",
"price": "430.0",
"brand": "TQ",
"category": "E-bike motor parts",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40296",
"name": "TQ HPR50 Drive Unit Bolt Set",
"price": "360.0",
"brand": "TQ",
"category": "E-bike motor parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41822",
"name": "Trek Domane+ SLR Speed Sensor Cable",
"price": "230.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41263",
"name": "Trek 2021-2023 Powerfly FS & 2020-2021 Aluminum Rail Motor Armor",
"price": "200.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "45528",
"name": "Trek-Diamant 2022-2023 Bosch Smart System Charge Port Cover",
"price": "140.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "32906",
"name": "Trek Powerfly HT Motor Armor",
"price": "120.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "41543",
"name": "Bosch Performance Line CX Logo Bezel",
"price": "20.0",
"brand": "Bosch",
"category": "E-bike motor parts",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}