if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "34132",
"name": "Bontrager Circuit Road Cycling Shoe",
"price": "169.99",
"brand": "Bontrager",
"category": "Road bike shoes",
"variant": "red",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "21729",
"name": "Bontrager Adorn Women's Mountain Shoe",
"price": "99.99",
"brand": "Bontrager",
"category": "Mountain bike shoes",
"variant": "grey_teal",
"list": "CATEGORY",
"position": 2
}
]
}
});
} else {
console.log("dataLayer");
}