if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41607",
"name": "Domane AL 4 4ª Geração",
"price": "13200.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41587",
"name": "Domane AL 2 4ª Geração",
"price": "8800.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "red_reddark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "33037",
"name": "Domane AL 2 Rim",
"price": "7199.0",
"brand": "Trek",
"category": "Performance road bikes",
"variant": "black_grey",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "35172",
"name": "Checkpoint ALR 5",
"price": "14999.0",
"brand": "Trek",
"category": "Gravel bikes",
"variant": "bluedark_red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}