Be a bit careful of using treats as a distraction, she might start and interpret the treat as a reward for barking. If you can, distract with a toy or encourage her to come to you or play, or sit, or whatever and then treat her as reward for not barking. The idea is to offer an alternative behaviour to that what she‘s doing and then reward her for doing that properly. Its not always as easy as the training instructions will have you believe
but I learned the hard way that treats can actually be contra productive if you don’t get the timing right.
( My dog is nearly 8, CAN do lots of things but only when he wants to and if he gets „paid“
)!!
Best of luck!