if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "21832",
"name": "Conjunto de paralamas NCS Bontrager",
"price": "705.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "27135",
"name": "Jogo de pára-lamas Bontrager Universal Road/CX/MTB",
"price": "545.0",
"brand": "Bontrager",
"category": "Bike fenders & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}