When he gives up and stands still (staring at you like you’ve gone crazy), THAT’s when you greet your dog and give him some love and attention. This is the reward he was looking for. Following these rules will ensure he learns that he will only earn that reward by not jumping (don’t overdo the high-pitched voice saying, “GOOD BOYYYYY” or it will just rile your dog up even more to start jumping again).
Determining if this is your dog is a little more complicated, but it is often seen when your dog isn’t very excited (or that there isn’t much of a reason to be excited). This is more than likely to happen when you are in their way or have something that they want. They will usually jump on you and try to push you back more than just jumping up to give you kisses. Often times they will jump on you and try to hold on when you push them away or try to move into them. Sometimes moving into them may elicit a growl because they want to back you off.
Nobody likes to have a handful of groceries knocked out of their hand or get muddy paw prints on their new pants as they walk through their own front door, let alone someone else's front door. Jumping up can be a cute greeting when you have a small puppy or dog at home, but as time goes on, it can become quite annoying to you and your guests. Teaching your dog to calmly greet you and your guests, without jumping, will create a much more enjoyable environment to enter into after a long day at work or when receiving guests at home.