if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25382",
"name": "Bontrager-Electra Fidlock SNAP Helmet Buckle",
"price": "6.5",
"brand": "Bontrager-Electra",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
]
}
});
} else {
console.log("dataLayer");
}