if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "17.99",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "08591",
"name": "Bontrager Convertible Cycling Neck Gaiter",
"price": "11.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black_grey",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "11.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14203",
"name": "Bar Mitts Road",
"price": "74.95",
"brand": "Bar Mitts",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}