There are several things you need to work on.

Watch for her system. Some of my dogs had to go right after eating; some had to go 2 hours after eating. Figure out WHEN she has to go, and have her outside at that time.

Watch for her signals. All dogs do SOMETHING before they go. My Riley spins around in place. Many dogs sniff, looking for the perfect spot. Figure out what her signals are.

Keep a baggie of high quality treats handy. These can be boiled boneless skinless chicken breast, hot dog, or cheese. The pieces are SMALL. For example, one hot dog can make 88 treats. (I only ever made 62, but this gives you an idea how SMALL training treats are!) These are things she only gets as praise /reward for doing a good job. So you do not use her kibble for this.

Use the training treats for teaching her all the basic commands: sit, shake hands, come, etc. so she learns to pay attention to you and starts to want to please you (for a treat!).

When you see her giving 'her' signal, when it is time to take her out, or when you are taking her for a walkies outside grab your baggie. Take her for walks where other dogs are walked -- most dogs want to mark OVER another dog's scent. Take her to the park for walkies. When she goes, have a PAWTY! Jump up and down, clap your hands, smile and laugh, and praise and treat! If your neighbors and your dog are looking at you like you are nuts, you are doing it right. Anything less is NOT ENOUGH.

Consider taking her to obedience training group classes. Classes help the dog bond with you and want to please you -- and so it does make potty training easier!