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