if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "41931",
"name": "FSA Comet 1x Crankset for Trek 2023 Farley 5",
"price": "449.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "44989",
"name": "FSA Bosch Gen 3 Crank Arms",
"price": "99.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "44821",
"name": "Prowheel 40T Square Crank with Bashguard",
"price": "79.99",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32172",
"name": "Bosch Gen 3 (Mini ISIS) Crankset",
"price": "39.99",
"brand": "Trek-Diamant",
"category": "E-bike drivetrain parts",
"variant": "grey",
"list": "CATEGORY",
"position": 4
}
]
}
});
} else {
console.log("dataLayer");
}