if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "21848",
"name": "Bontrager Quantum Mips Bike Helmet",
"price": "16.93",
"brand": "Bontrager",
"category": "Bike helmets",
"variant": "white",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31572",
"name": "Bontrager SSR Women's Multisport Bike Shoe",
"price": "10.93",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "bluedark_teal",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport Bike Shoe",
"price": "10.93",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22799",
"name": "Bontrager Kalia Women's Fitness Bike Tank",
"price": "4.99",
"brand": "Bontrager",
"category": "Fitness & commuter apparel",
"variant": "purplelight",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}