if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "22791",
"name": "Bontrager Quantum Fitness Bike Short",
"price": "69.99",
"brand": "Bontrager",
"category": "Road bike shorts & bib shorts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "31571",
"name": "Bontrager SSR Multisport Bike Shoes",
"price": "149.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "27193",
"name": "Bontrager Quantum Full-finger Cycling Gloves",
"price": "19.99",
"brand": "Bontrager",
"category": "Full finger cycling gloves",
"variant": "red",
"list": "CATEGORY",
"position": 3
}
]
}
});
} else {
console.log("dataLayer");
}