How to stop your dog from jumping up
One of the best ways in dog training to get rid of an unwanted behavior is to replace it with a behavior that you do want. Now, I want my dog to do something calm and controlled when somebody comes to the door, so when somebody knocks at the door, I'm gonna give my dog a behavior like lying down or sitting and waiting in order to prevent them from rushing to the door and jumping up.
The very first thing that I do when somebody knocks on my door is figure out where the dog is. Now, when I have a young dog, they're most often than not wearing a leash in the house, and that way if something unexpected happens, I can get control of the dog immediately. Before actually opening the door, I need to make sure that my dog is in some type of control position. Now, in our home, it's really easy because we have a separated sunroom from where our kitchen is, so I'll have her sit or lie down on the steps to our kitchen, and her boundaries that she's not allowed to step into the sunroom unless she has permission, so I work her into a sit, or work her into a down position,
I reward several times for her maintaining the position, and in the beginning, I might not go and open the door right away, I'm gonna focus more on what the dog is doing and rewarding her for making good choices, so I might walk to the door, reward her for remaining in the door, and just basically switch back and forth between addressing the person at the door, and making sure that my dog is still under control and happy. Now, if you have a house that doesn't have the same setup as ours, as you just have an open area into your home, you can actually make your own boundary, whether you put a line down on the floor, some people have carpet to tile and you can suggest that the dog doesn't go down to the tile area by the front door, some type of boundary is best to let the dog know where they can and cannot be.
Once you've opened the door to let somebody in, the first thing that I would do is go back and reward my dog for making a good choice. My goal is to try and set the dog up for success, so I'm gonna reward her more often than not to help her maintain the down. As soon as you start testing them and start to build the distance between the rewards, you start to bring up the opportunity that the dog may make a mistake by getting up and jumping on the person, so in the beginning, your rewards need to be very frequent in order to keep the dog in the position that you're hoping for.
When it's somebody that's new, dogs can often make more errors because they're not as familiar with the situation. One of the most important things about dog training is that you need to be consistent, and you need to present a clear picture. If you happen to have a dog that gets overexcited when people come to the door, I highly recommend that you have some type of leash or a long line attached to them so that if you need to take control, it's really easy for you to do so.