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": "37727",
"name": "Trek Checkpoint SL & SLR Downtube Armor",
"price": "305.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"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": 3
}
,
{
"id": "44647",
"name": "Trek 2023 Aluminum Rail Chainstay Armor",
"price": "180.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "32906",
"name": "Trek Powerfly HT Motor Armor",
"price": "125.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black_greydark",
"list": "More Options",
"position": 5
}
,
{
"id": "37599",
"name": "Trek Checkpoint SL & SLR Gen 2 Chainstay Armor",
"price": "125.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "28456",
"name": "Trek 2017 Procaliber 29 Carbon Chainstay Strike Guard",
"price": "120.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "greylight",
"list": "More Options",
"position": 7
}
,
{
"id": "26161",
"name": "Trek Madone/Émonda SLR Chainkeeper",
"price": "75.0",
"brand": "Trek",
"category": "Bike frame protection",
"variant": "black",
"list": "More Options",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}