if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41169",
"name": "Trek Speed Concept Handlebar Storage Port Foam",
"price": "100.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "38360",
"name": "Trek 2022 Speed Concept Cockpit Bolt",
"price": "50.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "38026",
"name": "Trek 2022 Speed Concept Aero Barstem Cap",
"price": "50.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "38232",
"name": "Trek Speed Concept Cockpit Bolt Cover Bolts",
"price": "50.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "38028",
"name": "Trek 2022 Speed Concept Aero Barstem Cap Plug",
"price": "50.0",
"brand": "Trek",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}