So, calm down and be gentle and kind with your dog. Never scold or punish for excitement or submissive urination.
One way to handle the problem is to make sure your dog is outdoors while you are gone (in a fenced and safe area naturally) so that when you come home, if he urinates, your floors are not damaged. It is a good idea to do more to help the puppy stay dry.
Dominant dogs often control by placing the neck or a paw over another dog's neck or shoulders.
When a human pats a dog on the head, a submissive dog sees it as a display of dominance and finds it intimidating, leading to peeing.
A goal in controlling excitement urination is to prevent your dog from becoming so excited in the first place.
Do this by exposing your dog to whatever excites him, over and over until it no longer excites him.
The most important thing is to never scold or punish your dog for excitement urination; it makes the situation worse as the puppy will then start to pee out of fear!
Excitement or submissive urination is part of this breed’s specific instincts. The dog is not doing it to be disobedient or punish you!
When your dog stays calm and no longer gets excited when you come in, then very quietly and gently say hello.
If any signs of excitement appear, repeat the coming in-and-leaving routine.
If excitement urination is a problem when visitors arrive, have them do this too.