Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37480",
"name": "Trek 2022 Rail 29 Motor Armor",
"price": "660.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40296",
"name": "TQ HPR50 Drive Unit Bolt Set",
"price": "380.0",
"brand": "TQ",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "41822",
"name": "Trek Domane+ SLR Speed Sensor Cable",
"price": "240.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "41263",
"name": "Trek 2021-2023 Powerfly FS & 2020-2021 Aluminum Rail Motor Armor",
"price": "210.0",
"brand": "Trek",
"category": "E-bike accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "45528",
"name": "Trek-Diamant 2022-2023 Bosch Smart System Charge Port Cover",
"price": "145.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black_greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "32906",
"name": "Trek Powerfly HT Motor Armor",
"price": "125.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "More Options",
"position": 6
}
,
{
"id": "44651",
"name": "Trek/Diamant RIB Assembly Upper Handle Spring & Plunger Kit",
"price": "45.0",
"brand": "Trek",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "36312",
"name": "Bosch Gen2 Performance CX Drive Unit 25kph",
"price": "12495.0",
"brand": "Bosch",
"category": "E-bike motor parts",
"variant": "greylight",
"list": "More Options",
"position": 8
}
,
{
"id": "41543",
"name": "Bosch Performance Line CX Logo Bezel",
"price": "220.0",
"brand": "Bosch",
"category": "E-bike motor parts",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}