Train your dog to sit when greeting people. Consistency is crucial here. I asked guests to ignore my dog until he was sitting calmly. Once that behavior was rewarded, the jumping gradually stopped.