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