if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "22158",
"name": "Bontrager Race Lite Ergo Bar Ends IsoZone Bar Adapters",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "10311",
"name": "Bontrager IsoZone Handlebar Plugs",
"price": "",
"brand": "Bontrager",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "35187",
"name": "Diamant 136 Bar Ends",
"price": "",
"brand": "Diamant",
"category": "Bike handlebars",
"variant": "purple",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}