if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "26232",
"name": "Electra Straight 8 3i Crankset",
"price": "19.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "39361",
"name": "Electra Replacement Steel Seatpost",
"price": "19.99",
"brand": "Electra",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "12666",
"name": "Electra Barefoot Pedal Set",
"price": "17.99",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "12827",
"name": "Electra Replacement Aluminium Seatpost",
"price": "16.99",
"brand": "Lee Chi",
"category": "Bike seatposts & accessories",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "41769",
"name": "Electra Loft Go! 7D Bottom Bracket Cover",
"price": "13.99",
"brand": "Electra",
"category": "E-bike drivetrain parts",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "41771",
"name": "Electra Loft Go! 7D Internal Cable Guide",
"price": "12.99",
"brand": "Electra",
"category": "Bike tools & maintenance",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "12591",
"name": "Electra Chainguard Badge",
"price": "11.99",
"brand": "Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "28507",
"name": "Electra Coaster Brake Arm Clamps",
"price": "6.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "greylight",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "36181",
"name": "Electra Brake Rotor Spacer",
"price": "6.99",
"brand": "Electra",
"category": "Bike brakes, pads, & levers",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"id": "45386",
"name": "Trek M5 x 0.8mm Locknut",
"price": "2.99",
"brand": "Bontrager-Electra",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 10
}
,
{
"id": "41770",
"name": "Bontrager-Electra M3 Button Head Bolt",
"price": "1.99",
"brand": "Bontrager-Electra",
"category": "Bike frame parts",
"variant": "greylight",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}