if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "139.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "34506",
"name": "Bontrager Circuit Full Finger Twin Gel Cycling Gloves",
"price": "69.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24721",
"name": "Bontrager Circuit Windshell Cycling Gloves",
"price": "59.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "34510",
"name": "Bontrager Circuit Women’s Twin Gel Cycling Gloves",
"price": "39.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "34505",
"name": "Bontrager Circuit Twin Gel Cycling Gloves",
"price": "39.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "14821",
"name": "Bontrager Circuit Cycling Wind Vest",
"price": "29.99",
"brand": "Bontrager",
"category": "Cycling vests",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 6
}
]
}
});
} else {
console.log("dataLayer");
}