How to potty train girls?

So my daughter is 3rds old and will be 4 in October. I have been potty training her since she she was 2 and she has been in underwear since 2.5yrs old, but she cannot stop having accidents. She knows when she has to go to the bathroom, she verbally tells everyone when she has to go but when she is too busy playing or watching a show she will refuse to leave what she is doing and pee herself. I haven’t been able to take the pull ups away for nap or bedtime yet because of this, and I just don’t know what to do anymore. Anyone have any advice or having the same issue ?!?