Yeah I agree with giving the crate a try. If I don't crate my dog and I leave the apartment...he has a nervous release of his bowels like the SECOND I leave :teehee: Poor guy. But in the crate he's fine and he just chills out.
As soon as he got used to it, it really did become his "space." He goes in there to hang out on his own if there are too many people out. I also use it as a "time-out" space. When he gets too wild or exhibits behaviors I'm looking to extinguish, I completely "turn off." A brief and stern "No" and then no eye contact, no physical contact, and a deeply voiced "KENNEL" and I point. No matter where we are in the apartment, he immediately stops whatever he was doing and trots off to his kennel to go sit for a minute or two and calm down. He has, however, mastered the look over the shoulder at the last second with a pathetic puppy-dog face :rofl: .
Interrupting the "bad" behavior as it's happening is really key with dogs. They can't learn from a correction if they don't know what's being corrected. And with dogs it really has to be simultaneous.
Also--did you mention that this is a young female? Cuz if the puddles are warm when you get home, she could be excitement-peeing. It's common for female dogs to run up and say hi when you get home by leaking a piddle. It's a submissive thing. It can be a little harder to train out, but sometimes they also grow out of it. My brother's dog still does it occasionally.
(wow that post got long!)
ETA--oh yeah, crate size! Don't make the mistake of getting a crate that's too big. She should have just enough room to comfortably sit, stand up, turn around, and lie down. Any bigger and it defeats the "don't poo where you sleep" idea.