Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "48049",
"name": "Guidão/Avanço Integrado Trek Aero RSL Road",
"price": "5775.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 1
}
,
{
"id": "35019",
"name": "Guidão/Avanço Bontrager RSL MTB",
"price": "3885.0",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "48102",
"name": "Trek Aero RSL Barstem Bearing Top Cover",
"price": "190.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "42042",
"name": "Trek 2023 Madone SLR Gen 7 Integrated Barstem Bearing Top Cap",
"price": "40.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_greydark",
"list": "More Options",
"position": 4
}
,
{
"id": "44564",
"name": "Guidão Integrado Bontrager Aeolus RSL VR-C",
"price": "5775.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "greydark",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}