if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "37398",
"name": "Trek 2022-2023 Rail 29 Carbon Charge Port Cover",
"price": "260.0",
"brand": "Trek",
"category": "Bike frame parts",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 1
}
,
{
"id": "47140",
"name": "Suporte de Caramanhola Reciclado Trek Elite",
"price": "100.0",
"brand": "Trek",
"category": "Bike water bottles & cages",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 2
}
,
{
"id": "41443",
"name": "Conjunto de Farol e Lanterna Trek Ion 100 R/Flare R para Bicicletas Urbanas",
"price": "600.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 3
}
,
{
"id": "44800",
"name": "Conjunto de Farol e Lanterna Trek Ion 100 R/Flare R para Bicicletas Urbanas",
"price": "600.0",
"brand": "Trek",
"category": "Bike lights",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 4
}
,
{
"id": "35491",
"name": "Trek 2022 Rail 29 Aluminum Seatstay",
"price": "2420.0",
"brand": "Trek",
"category": "Bike rear suspension",
"variant": "black_greydark",
"list": "PRODUCTSEARCH",
"position": 5
}
,
{
"id": "11255",
"name": "Tampa de canote de selim de carbono de cor correspondente da Trek e trilhos redondos de 7 mm",
"price": "1350.0",
"brand": "Trek",
"category": "Bike seatposts & accessories",
"variant": "black",
"list": "PRODUCTSEARCH",
"position": 6
}
,
{
"id": "37360",
"name": "Trek 2022-2023 Rail 29 Carbon 750W Battery Cover",
"price": "1475.0",
"brand": "Trek",
"category": "E-bike batteries & parts",
"variant": "black_grey",
"list": "PRODUCTSEARCH",
"position": 7
}
,
{
"id": "34653",
"name": "Camiseta para ciclismo Solstice Trek",
"price": "450.0",
"brand": "Trek",
"category": "Road bike jerseys",
"variant": "red",
"list": "PRODUCTSEARCH",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}