if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41734",
"name": "Trek Thermal Cycling Leg Warmer",
"price": "67.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "41733",
"name": "Trek Thermal Cycling Knee Warmer",
"price": "59.49",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "41731",
"name": "Trek Thermal Cycling Arm Warmer",
"price": "50.99",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "41235",
"name": "Trek UV Sunstop Cycling Arm Cover",
"price": "38.24",
"brand": "Trek",
"category": "Cycling arm & leg warmers",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "25032",
"name": "Bontrager Thermal Cycling Leg Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "25030",
"name": "Bontrager Thermal Cycling Knee Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "25028",
"name": "Bontrager Thermal Cycling Arm Warmer",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "22817",
"name": "Bontrager UV Sunstop Cycling Arm Cover",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}