if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41479",
"name": "Trek Cargo Bike 6-Bolt Disc 20" Wheel",
"price": "316.99",
"brand": "Trek",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37656",
"name": "Bontrager Connection Ride+ 32H Disc 700c Wheel",
"price": "1674.99",
"brand": "Bontrager",
"category": "E-bike drivetrain parts",
"variant": "black_greydark",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "23817",
"name": "Electra Townie 1 26" Wheels",
"price": "188.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "greylight",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "23818",
"name": "Electra Townie 1/7/21 26" Wheels",
"price": "164.99",
"brand": "Electra",
"category": "Bike wheels",
"variant": "black",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}