It's bad luck to be peed by a dog. Dog peeing is a sign of dog territory or greeting behavior. They transmit information through the smell of urine. Dogs may choose to pee on you because they think your body is a suitable target, or because you are in their territory, or they are interested in you.
This behavior is usually not appreciated, because urine may cause odor, dirty clothes and other problems. In addition, being peed by a dog may also mean that you need to pay more attention to your behavior and the surrounding environment to avoid similar situations from happening again.