if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "USD",
"impressions": [
{
"id": "33310",
"name": "100% Geomatic Mountain Glove",
"price": "18.0",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 1
}
,
{
"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": 2
}
,
{
"id": "35362",
"name": "100% Hydromatic Mountain Bike Glove",
"price": "31.6",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "33311",
"name": "100% Ridecamp Youth Mountain Bike Glove",
"price": "19.6",
"brand": "100%",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}