This works. Also, are you using a cue word? I started using "bathroom" whenever mine would go and he has now learned that when the command is "Kennel, bathroom" that we are on a business trip.Put her on a leash and remind her what she is outside for when she gets distracted. Make sure she does her business before you bring her back in the house.
Good luck. I know it can be frustrating.