if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "41409",
"name": "Conjunto de pedais planos Trek Line Elite",
"price": "445.0",
"brand": "Trek",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "35809",
"name": "Conjunto de pedais planos para mountain bike Line Comp Bontrager",
"price": "210.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35291",
"name": "Conjunto de pedais para bikes urbanas Bontrager City",
"price": "145.0",
"brand": "Bontrager",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}