Urine stain cleaners, when used properly, are designed specifically to solve the problem of scent and your dog's repeat visits to the same places.
Things to consider: Proper uses for maximum effectiveness, the cleaning session as a training tool, and steam cleaning carpets.
Thorough Requirements - Urine stain cleaners must be completely rinsed out of carpets in order for future applications of stain and odor removal products to ever have a chance of being effective.
Training Tool - After using urine stain cleaners for total stain and odor removal, take the smelly cloth or towel you just used and have your dog follow you with it outside to their designated elimination (or "bathroom") area. This will help her learn where the proper and approved place to "go" is. Be sure you do this in a happy and encouraging tone so that your dog does not learn to think of eliminating as a bad and punishable action.
Bad Idea - Do NOT steam clean your carpets to get out the odor of urine stains, it will only make it worse. That is because urine feeds on moisture. The proteins in the urine will bind with the fibers in your carpet and then you will never get it out. You are much better off using specifically designed pet stain and odor removal products, like pet urine stain cleaners.