if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "25033",
"name": "Bontrager Thermal Cycling Headband",
"price": "24.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22822",
"name": "Bontrager Classic Cycling Cap",
"price": "19.99",
"brand": "Bontrager",
"category": "Cycling caps & headwear",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "22489",
"name": "Bontrager Kids' Bike Glove",
"price": "19.99",
"brand": "Bontrager",
"category": "Fingerless cycling gloves",
"variant": "yellowvisibility",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "11730",
"name": "Bontrager Thermal Leg Warmer",
"price": "9.99",
"brand": "Bontrager",
"category": "Cycling arm & leg warmers",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "40650",
"name": "Electra Eclipse Socks",
"price": "29.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "teal_pinkdark",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "40649",
"name": "Electra Banana Dance Socks",
"price": "29.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "blue",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "33839",
"name": "Electra Love-Ocado Socks",
"price": "29.99",
"brand": "Electra",
"category": "Cycling socks",
"variant": "green_greendark",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "40653",
"name": "Electra Richie Socks",
"price": "29.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "40651",
"name": "Electra Tiki Time Socks",
"price": "19.99",
"brand": "Electra",
"category": "Men's cycling socks",
"variant": "reddark",
"list": "CATEGORY",
"position": 9
}
]
}
});
} else {
console.log("dataLayer");
}