if (typeof dataLayer !== "undefined") {
dataLayer.push({
"ecommerce": {
"currency": "AUD",
"impressions": [
{
"id": "37569",
"name": "Electra Townie 135 x 12 mm Derailleur Hanger",
"price": "35.99",
"brand": "Electra",
"category": "Bike hangers & dropouts",
"variant": "black",
"list": "CATEGORY",
"position": 1
}
,
{
"id": "37871",
"name": "SunRun FW-7I 7-Speed Freewheel",
"price": "33.99",
"brand": "SunRun",
"category": "Bike cassettes & freewheels",
"variant": "brown",
"list": "CATEGORY",
"position": 2
}
,
{
"id": "31275",
"name": "Trek Allant+/Diamant Zouma Supreme+ Derailleur Protector",
"price": "29.99",
"brand": "Trek-Diamant",
"category": "Bike frame parts",
"variant": "black",
"list": "CATEGORY",
"position": 3
}
,
{
"id": "32684",
"name": " VP Components Square Taper Bottom Bracket",
"price": "24.99",
"brand": "VP Components",
"category": "Bike bottom brackets",
"variant": "greylight",
"list": "CATEGORY",
"position": 4
}
,
{
"id": "44990",
"name": "FSA ML558 Bosch Gen 3 ISIS Crank Arm Bolts - Set of 2",
"price": "19.99",
"brand": "FSA",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 5
}
,
{
"id": "44499",
"name": "VP Components VP-536 Nylon Polymer Bearing Pedal Set",
"price": "19.99",
"brand": "VP Components",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 6
}
,
{
"id": "26232",
"name": "Electra Straight 8 3i Crankset",
"price": "19.99",
"brand": "Electra",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 7
}
,
{
"id": "12666",
"name": "Electra Barefoot Pedal Set",
"price": "17.99",
"brand": "Electra",
"category": "Bike pedals",
"variant": "black",
"list": "CATEGORY",
"position": 8
}
,
{
"id": "26060",
"name": "VP Components FP-B701 Old-Style Nut-Type Bottom Bracket",
"price": "16.99",
"brand": "VP Components",
"category": "Bike bottom brackets",
"variant": "black",
"list": "CATEGORY",
"position": 9
}
,
{
"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": 10
}
,
{
"id": "36832",
"name": "Trek-Diamant Prowheel Crank Preload Bolt",
"price": "11.99",
"brand": "Prowheel",
"category": "Bike cranks & chainrings",
"variant": "black",
"list": "CATEGORY",
"position": 11
}
]
}
});
} else {
console.log("dataLayer");
}