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": "48104",
"name": "Trek Aero RSL Barstem Top Cover",
"price": "99.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41756",
"name": "Trek Madone SLR Gen 7 Barstem",
"price": "4799.99",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black_grey",
"list": "More Options",
"position": 5
}
,
{
"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": 6
}
]
}
});
} else {
console.log("dataLayer");
}