Visão geral
if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "35560",
"name": "Bolsa para Selim Adventure Bontrager",
"price": "1525.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 1
}
,
{
"id": "30760",
"name": "Bontrager Flat Pack",
"price": "420.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 2
}
,
{
"id": "14411",
"name": "Bontrager Elite Seat Pack",
"price": "270.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "yellowvisibility",
"list": "More Options",
"position": 3
}
,
{
"id": "14396",
"name": "Bontrager Comp Seat Pack",
"price": "265.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "More Options",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}