if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41360",
"name": "Trek 2023 Madone SL6 Forks",
"price": "4000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "blue_bluedark",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37984",
"name": "Trek Speed Concept SLR Gen 3 700c Rigid Fork",
"price": "3850.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_blue",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41847",
"name": "Trek 2023 Emonda SL6 700c Rigid Fork",
"price": "2680.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}