Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "35555",
"name": "Bolsa para Quadro Adventure Boss Bontrager",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "25828",
"name": "Bolsa para tubo superior Adventure Bontrager",
"price": "500.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black_greylight",
"list": "More Options",
"position": 2
}
,
{
"id": "13984",
"name": "Speed Box Pro Bontrager",
"price": "420.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 3
}
,
{
"id": "14025",
"name": "Bontrager Speed Concept Draft Box II Lid",
"price": "145.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
,
{
"id": "38548",
"name": "Trek 2022 Speed Concept SLR Bento Box Assembly",
"price": "420.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}