if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "37110",
"name": "Trek Evoke Youth Unisex Mountain Bike Glove",
"price": "24.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37109",
"name": "Trek Kids' Unisex Bike Glove",
"price": "24.99",
"brand": "Trek",
"category": "Kids' bike gloves",
"variant": "red",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "9.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "47420",
"name": "Fox Racing Ranger Youth Mountain Bike Glove",
"price": "27.95",
"brand": "Fox Racing",
"category": "Kids' bike gloves",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}