if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "7199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "16799.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24166",
"name": "Émonda ALR 5",
"price": "14799.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "purpledark",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33078",
"name": "Émonda ALR 4",
"price": "11999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_orangelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "33082",
"name": "Domane AL 3 3ª Geração",
"price": "9999.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}