if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "47270",
"name": "Verve 3 Equipped",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "47271",
"name": "Verve 3 Equipped Lowstep",
"price": "",
"brand": "Trek",
"category": "Verve Equipped",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}