if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "34494",
"name": "Pneu para MTB Bontrager SE6 Team Issue TLR",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34493",
"name": "Pneu para MTB pronto para tubeless SE5 Team Issue Bontrager",
"price": "900.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13586",
"name": "Pneu para MTB SE4 Team Issue Bontrager",
"price": "630.0",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}