Yup teaching to walk heel in the correct position (head alongside legs) is what I’d do to start. Teach whilst on the lead with gentle pulls on the lead to show her the correct position. No need to be aggressive – you are teaching not instructing or dominating. A lead should only be there as a safety line to stop an impulsive sudden move to something of interest. The dog should never tug on the lead, and walk alongside the same on or off the lead. Then teach off the lead using your finger to feedback to the dog correct position
I don’t reward with treats out of the house – its bribery and the dog will soon succumb and distract to a higher offer. Dog gets a treat back home though.
I use “back” and “front” as calls to let the dog know where to be relative to the bike. And these can be taught whilst walking to heel, both on and off the lead.
Persistence and consistency are key. People laugh when they see a small staffy glued to my back wheel, and she knows she can pop off to explore ahead whilst I’m wheezing up a hill.
Oh and anyone who rides into a dog to teach them to get out of the way is a **** 😀