if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "27444",
"name": "Feedback Sports Velo 2D Bike Storage Rack",
"price": "50.0",
"brand": "Feedback Sports",
"category": "Bike storage",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "32644",
"name": "Feedback Sports Chain Keeper",
"price": "49.0",
"brand": "Feedback Sports",
"category": "Bike tools & maintenance",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "34270",
"name": "Feedback Sports Repair Stand Tool Tray",
"price": "38.5",
"brand": "Feedback Sports",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "44683",
"name": "Feedback Sports Velo Hinge Long Hook",
"price": "11.0",
"brand": "Feedback Sports",
"category": "Bike storage",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}