if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37039",
"name": "Supercaliber 9.8 1ª Geração",
"price": "48099.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35149",
"name": "Supercaliber 9.7 1ª Geração",
"price": "29439.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35151",
"name": "Supercaliber 9.6 1ª Geração",
"price": "24819.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}