if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "22817",
"name": "Bontrager UV Sunstop Cycling Arm Cover",
"price": "23.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23111",
"name": "Bontrager Gel Cork Visibility Handlebar Tape Set",
"price": "22.99",
"brand": "Bontrager",
"category": "Bike handlebar grips & tape",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12005",
"name": "Bontrager Visibility Thermal Cycling Arm Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "14964",
"name": "Bontrager Solstice Cycling Jersey",
"price": "19.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "14968",
"name": "Bontrager Kalia Women's Fitness Bike Jersey",
"price": "14.99",
"brand": "Bontrager",
"category": "Road bike jerseys",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14973",
"name": "Bontrager Anara Women's Cycling Glove",
"price": "13.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}