if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "11199",
"name": "Bontrager Lockdown Bike Helmet Strap Divider",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14227",
"name": "Bontrager Bike Helmet Buckle",
"price": "",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}