Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "40301",
"name": "Cabo para extensor de autonomia TQ para MTB",
"price": "715.0",
"brand": "TQ",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "40283",
"name": "TQ HPR50 4A Charger With US Cable",
"price": "3160.0",
"brand": "TQ",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "40292",
"name": "TQ Charge Port Cover Set",
"price": "370.0",
"brand": "TQ",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "36072",
"name": "Trek 2020-2021 Rail 29 Charge Port Cover",
"price": "300.0",
"brand": "Trek",
"category": "E-bike chargers & parts",
"variant": "greydark_black",
"list": "More Options",
"position": 4
}
,
{
"id": "41274",
"name": "Trek 2023-2024 Fuel EXe Downtube Charge Port Assembly Bracket",
"price": "265.0",
"brand": "Trek",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "37398",
"name": "Trek 2022-2023 Rail 29 Carbon Paint Match Charge Port Cover",
"price": "260.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "42197",
"name": "Trek-Diamant 2022-2023 Bosch Smart System Charge Dock Cover",
"price": "190.0",
"brand": "Trek",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "35619",
"name": "Bosch Standard 4A Charger",
"price": "1765.0",
"brand": "Bosch",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "38068",
"name": "Bosch Smart System 110V Charger",
"price": "1565.0",
"brand": "Bosch",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 9
}
,
{
"id": "37537",
"name": "Bosch Standard Charger 4A 220-240v",
"price": "1545.0",
"brand": "Bosch",
"category": "E-bike chargers & parts",
"variant": "black",
"list": "More Options",
"position": 10
}
]
}
});
} else {
console.log("dataLayer");
}