if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "36573",
"name": "Endura Hummvee Plus Cycling Glove II",
"price": "24.99",
"brand": "Endura",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "40763",
"name": "PEARL iZUMi Women's Elite Gel Glove",
"price": "20.0",
"brand": "PEARL iZUMi",
"category": "Fingerless cycling gloves",
"variant": "redlight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40272",
"name": "Endura Women's Hummvee Lite Icon Mountain Bike Glove",
"price": "18.0",
"brand": "Endura",
"category": "Fingerless cycling gloves",
"variant": "tealdark_pink",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22174",
"name": "Bontrager Vella Women's Thermal Cycling Glove",
"price": "9.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "pinkvisibility",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "35458",
"name": "G-Form Bolle Mountain Bike Glove",
"price": "8.0",
"brand": "G-Form",
"category": "Full finger cycling gloves",
"variant": "black_white",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "35457",
"name": "G-Form Sorata Mountain Bike Glove",
"price": "8.0",
"brand": "G-Form",
"category": "Full finger cycling gloves",
"variant": "black_grey",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}