if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "33474",
"name": "520 Grando",
"price": "",
"brand": "Trek",
"category": "520",
"variant": "bluedark",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}