if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "13495",
"name": "Trek TAB Belt Tensioner",
"price": "",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "11008",
"name": "Gates Center Track Belts",
"price": "",
"brand": "Gates",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "13496",
"name": "Trek TAB Belt",
"price": "",
"brand": "Trek",
"category": "Bike chains",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}