Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "44496",
"name": "Trek RCS Pro Stem Blendr Bases",
"price": "135.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "36851",
"name": "Bontrager 2022 RSL MTB Barstem Combo Knock Block Shim",
"price": "230.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "36852",
"name": "Bontrager 2022 RSL MTB Barstem Combo Standard Shim",
"price": "210.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "42044",
"name": "Trek 2023 Madone Gen 7 Barstem Top Covers",
"price": "105.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "41780",
"name": "Trek RCS Pro Stem Top Cap",
"price": "45.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 5
}
,
{
"id": "41357",
"name": "Trek Road Integrated Stem Headset Cable Routing Spacer",
"price": "30.0",
"brand": "Trek",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 6
}
,
{
"id": "38011",
"name": "Bontrager Blendr Aftermarket Light Mount",
"price": "115.0",
"brand": "Bontrager",
"category": "Bike stems & accessories",
"variant": "black",
"list": "More Options",
"position": 7
}
]
}
});
} else {
console.log("dataLayer");
}