if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "35402",
"name": "Powerfly 5 Gen 3",
"price": "",
"brand": "Trek",
"category": "Electric mountain bikes",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}