if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "35061",
"name": "Bontrager TLR Rim Tape",
"price": "49.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "14221",
"name": "Bontrager TLR Rim Tape",
"price": "22.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31421",
"name": "Bontrager Race X Lite Rim Brake TLR Rim Strip",
"price": "19.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "31426",
"name": "Bontrager TLR Rim Strip",
"price": "15.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "11669",
"name": "Bontrager High Pressure Wide Rim Strip",
"price": "9.99",
"brand": "Bontrager",
"category": "Bike rims & accessories",
"variant": "white",
"list": "CATEGORY",
"position": 5
}
]
}
});
} else {
console.log("dataLayer");
}