if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "37098",
"name": "Trek Circuit Full-Finger Twin Gel Unisex Cycling Glove",
"price": "59.49",
"brand": "Trek",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37106",
"name": "Trek Evoke Unisex Mountain Bike Glove",
"price": "39.99",
"brand": "Trek",
"category": "Women's cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "40349",
"name": "Fox Racing Ranger Mountain Bike Glove",
"price": "39.99",
"brand": "Fox Racing",
"category": "Men's cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "22824",
"name": "Bontrager Evoke Mountain Bike Gloves",
"price": "19.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "bluelight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "27193",
"name": "Bontrager Quantum Full-finger Cycling Gloves",
"price": "19.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}