if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41856",
"name": "Trek 2023 Emonda SLR Fork",
"price": "4500.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "36729",
"name": "Trek 2021 Madone SLR Forks",
"price": "4445.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41360",
"name": "Trek 2023 Madone SL6 Forks",
"price": "4000.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "37984",
"name": "Trek Speed Concept SLR Gen 3 700c Rigid Fork",
"price": "3850.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "36121",
"name": "Trek 2022 Checkpoint SL Forks",
"price": "3100.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "red_bluedark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41847",
"name": "Trek 2023 Emonda SL6 700c Rigid Fork",
"price": "2680.0",
"brand": "Trek",
"category": "Bike forks",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}