if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "21731",
"name": "Bontrager Flatline Women's Mountain Bike Shoes",
"price": "",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21730",
"name": "Bontrager Flatline Mountain Bike Shoes",
"price": "",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "bluedark_yellow",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34790",
"name": "Bontrager Flatline Mountain Bike Shoes",
"price": "",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "greendark_black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}