Its deffo her anal glands.
My older dog does this too and she has to get her glands done regulalry.
I know the smell its awful like rotten fish! Just take her to the vets or the groomers and they should be able to empty them for her. You can do it yourself but I wouldnt want to lol