if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "BRL",
"impressions": [
{
"id": "24027",
"name": "Wahoo 20",
"price": "4799.0",
"brand": "Trek",
"category": "Kids' hybrid bikes",
"variant": "black_greenvisibility",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}