if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "35115",
"name": "Procaliber 9.8",
"price": "33079.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "grey_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35114",
"name": "Procaliber 9.7",
"price": "22279.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "bluedark_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35113",
"name": "Procaliber 9.6",
"price": "17549.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greenvisibility_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "13699.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}