if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "23364",
"name": "Bontrager XXX Shift Cable & Housing Set",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "23277",
"name": "Bontrager Pro Shift Cable & Housing Set",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23365",
"name": "Bontrager Elite Shift Cable & Housing Set",
"price": "39.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23366",
"name": "Bontrager Comp Shift Cable & Housing Set",
"price": "29.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "23369",
"name": "Bontrager Pro Shift Cable",
"price": "29.74",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "23370",
"name": "Bontrager Elite Shift Cable",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "23363",
"name": "Bontrager Shift Cable & Housing Set",
"price": "6.99",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "23371",
"name": "Bontrager Comp Shift Cable",
"price": "6.79",
"brand": "Bontrager",
"category": "Bike tools & maintenance",
"variant": "grey",
"list": "CATEGORY",
"position": 8
}
]
}
});
} else {
console.log("dataLayer");
}