Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "36401",
"name": "Trek Universal Derailleur Hanger",
"price": "395.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "24319",
"name": "Trek Road Disc (Gen 1) Dropout Kit",
"price": "210.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "27641",
"name": "Porca inferior de desviador dianteiro de montagem direta 27,5 2x Top Fuel da Trek",
"price": "195.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "45012",
"name": "Trek 2024 Supercaliber 160mm Rear Brake Mount Dropout",
"price": "160.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41846",
"name": "Trek Updated Road Rear Derailleur Hanger",
"price": "125.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "27642",
"name": "Trek 2016 Top Fuel 27.5 1x Low Direct Mount Front Derailleur Nut",
"price": "115.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "27649",
"name": "Gancheira de desviador traseiro Flip-Flop 6061 Trek",
"price": "95.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 7
}
,
{
"id": "31746",
"name": "Parafuso de cabeça de botão da gancheira de desviador Trek Madone/Speed Concept",
"price": "14.0",
"brand": "Trek",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 8
}
,
{
"id": "36781",
"name": "Trek-Diamant Thru-Skew Rear Derailleur Hanger",
"price": "95.0",
"brand": "Trek-Diamant",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "More Options",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}