if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "40773",
"name": "Marlin 5 3ª Geração",
"price": "5750.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "purple_black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40962",
"name": "Marlin 6 3ª Geração",
"price": "7150.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33258",
"name": "Procaliber 9.5",
"price": "15640.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red_black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35118",
"name": "Roscoe 9",
"price": "13500.0",
"brand": "Trek",
"category": "Trail mountain bikes",
"variant": "tan_greendark",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35112",
"name": "X-Caliber 9",
"price": "9500.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "orange",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35069",
"name": "X-Caliber 8",
"price": "8000.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "greydark",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "36969",
"name": "Marlin 8 3ª Geração",
"price": "7500.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "36967",
"name": "Marlin 7 3ª Geração",
"price": "5500.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "tealdark_bluedark",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "34587",
"name": "Marlin 5 2ª Geração",
"price": "3500.0",
"brand": "Trek",
"category": "Cross Country mountain bikes",
"variant": "red",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}