if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "34130",
"name": "Bontrager Foray Mountain Bike Shoes",
"price": "",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "blue",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44486",
"name": "Bontrager Sainte-Anne RSL XR TLR MTB Tyre",
"price": "",
"brand": "Bontrager",
"category": "Bike tires",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "36817",
"name": "Bontrager Digital Shock Pump",
"price": "",
"brand": "Bontrager",
"category": "Bike pumps & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}