Thanks for the additional information.
If she is leaking urine, and it smells bad, it may be a bladder infection or UTI (urinary tract infection). If that is what is gong on, she may need antibiotics.
Is she spayed? Another concern if she is not, is a serious infection of the uterus, called a pyometra. If she is spayed, that is not a concern.
If she were my own dog, I would do a urinalysis and if there are bacteria and white blood cells in the urine, I would start antibiotics. You can only get antibiotics from a veterinarian who has seen and examined her, so you might start by taking a urine sample to your veterinarian.
If she is not eating well, I am concerned she may be sick or possibly a bladder infection is turning into a kidney infection. Keep her eating. Encourage her to drink as much as possible by offering broth as well as water, or by adding water to her dog food. Drinking a lot may help flush out her bladder.
Cranberry and D Mannose are supplements that can be helpful with a bladder infection, but by themselves will not cure an infection.
If she is not spayed, I would get her to a veterinarian as soon as possible.
Let me know how she is doing and what else I can answer or help with.