Today our two year old corgi climbed on my daughter on the couch. My daughter made her climb off her. She went to the other end of the couch, laid down, and peed. Then a few hours later she climbed up in my lap on top of the blanket. And peed on me. Neither time did she squat and pee. I'm at a loss.
Normally dogs will pee to mark their territory. As if to say "Hey I'm coming back here save my spot". And if any scent is left at all they may pee there again.
Our Shih Tzu pees on the exact spot where he used to. I think, dogs must be trained earlier to the right place where he should do the pees.