I have a dog doorbell on the floor next to my patio doors - some people use this for the dog to ring to go out to toilet but you might need to watch that as I suspect yours is clever and will use it to summon you for some attention
I press it with my foot to signal she’s to go/come out. It’s just a cheap 5 pound thing like an old fashioned doorbell and the ping is not like my actual doorbell (obviously).
Honestly I’d start with your routine and really active walks where she gets to do some work like finding a ball or whatever. Same in the house or garden - brain activities not racing about. Easier to teach quiet and settle and everything else if she has worked her brain. Lots of time with other dogs if she’s happy with them.
She’s telling you something, I just don’t know what it is! But what did work for me was ‘thank you - enough’ with quite a firm ‘enough’ and also looking out the window just helped her realise I’d seen the stimulus too, then massive praise when quiet. Reassurance also worked ‘it’s ok pup all ok out there’ and distraction. That can include treats but you need to make that treating the quiet and different to feeding her everytime she barked.
Further down the line you not only need clear signals to her (playtime now) but to change her signals to you (yapping). So what also works is replacing the behaviour with something else. We basically want them to STOP doing something, right? Then train something else. When someone comes to the door, your job now little dog is to pick up a toy and bring it to them or me. Or go sit in a spot (harder). Whatever your job is, the reward when you do this is better than barking. Picking stuff up is really good as it’s harder to bark with mouth full! You’ll need to break this down into steps to teach it and maybe a very patient visitor/couple of visitors who can come and spend an afternoon ‘visiting’ repeatedly and making an enormous fuss of the dog with some really high value reward as it meets the steps. You’ll need to go really overboard with praise/steak here as you’re competing with the adrenaline from barking so it has to be worthwhile to her.
What never worked was raising voice or telling off. Dog clearly just thought oh yes there is a reason to be barking, even she’s doing it…or maybe she thought bad things happen when people come/I see things so I am right to be concerned. Who knows, mine is bonkers, bless her.
I learnt barking is rewarding and adrenaline kicks in. So we might not punish it, but also don’t reward it. I’d never go out to play when I’ve been told to by barking, I’d be looking to decide when it’s playtime and tell her (bell would work well here).
You’ll need to be patient. Even as I type this mine is looking out the window at a delivery van considering if it’s worth a bark. But she’s had a good walk today and 20mins of hard work (just finding a ball in hedges) so she contented herself with a grumble and I told her that was ‘alright, good quiet, good girl’ and we didn’t have a meltdown. Sometimes we sit at the big bay window and see that these things are ok, just fine, together. I’m not going to intervene over a grumble or a little yip, don’t sweat the small stuff. Six months ago I’d have been building a headache from the yipping and racing up and down. A year ago nobody slept a full night for weeks. I’m very proud of her, but always working on it.
Do come back and update on what worked if you can, as I’m also always looking for more ideas. As you can tell from my long rambles, I’ve found it really rewarding and it’s built our bond, and the huge bonus is the (more) peaceful house!