if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "",
"impressions": [
{
"id": "37509",
"name": "Santini Trek-Segafredo Men's Team Cycling Gloves",
"price": "",
"brand": "Santini",
"category": "Fingerless cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}