if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "22483",
"name": "Bontrager Velocis Road Cycling Shoe",
"price": "199.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "22484",
"name": "Bontrager Velocis Women's Road Cycling Shoe",
"price": "199.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "white",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "24720",
"name": "Bontrager Velocis Softshell Cycling Glove",
"price": "59.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}