if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "13.93",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "10.93",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "9.93",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "08591",
"name": "Bontrager Convertible Cycling Neck Gaiter",
"price": "7.93",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black_grey",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25045",
"name": "Bontrager Windshell Cycling Toe Cover",
"price": "5.93",
"brand": "Bontrager",
"category": "Cycling booties & toe covers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14203",
"name": "Bar Mitts Road",
"price": "74.95",
"brand": "Bar Mitts",
"category": "Bike handlebars",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}