I also prefer to have my dogs alert me to arrivals.

Here is how to stop this behavior. You need to keep a baggie of treats in the fridge ready. I use hot dog, cheese, boiled boneless skinless chicken breast. It has to be a high value treat. One hot dog makes 82 treats, so SMALL pieces.

As soon as she starts barking, you go over to her and get her attention. This may mean saying her name, using a 'come' command, or you may have to tap her to get her to break off and look at you. The INSTANT she looks at you, reward that. TREAT! Continue to give her treats, and walk away from where she is (door? window?) and to her pet bed. Continue treating her for staying with you. Get her to sit in her bed. Continue giving her treats. Let another person open the door. Continue to praise the dog and keep her in a sit in her bed. You will almost be shoveling treats in her mouth when you initially start this training.

Do not stop long enough for her to resume barking. If this happens, you have to regroup and call her again, start at the beginning. You do Not want to reward her for the barking so be sure you have her attention before you resume the treat delivery.

You will have to do this regularly - each and EVERY time someone comes -- for about a month. If she is allowed to resume HER habit you are defeating the training. This means 1. everyone in the home has to be prepared to do this training and 2. you have to be able to stop her running to the door / window to bark if no one is home to tre
at her. Otherwise you are wasting time.

Has she been to any training? You do need to take at least one class with her. Most basic manners classes run for 6 to 7 weeks. Everyone in the family age 8 and older needs to attend every class AND do all the homework with her so she gets lots of practice.