if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "44844",
"name": "Trek Blendr Saddle Bag Mount",
"price": "180.0",
"brand": "Trek",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35560",
"name": "Bolsa para Selim Adventure Bontrager",
"price": "1525.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "30760",
"name": "Bontrager Flat Pack",
"price": "420.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14411",
"name": "Bontrager Elite Seat Pack",
"price": "270.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14396",
"name": "Bontrager Comp Seat Pack",
"price": "265.0",
"brand": "Bontrager",
"category": "Bike bags",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}