As an "all else fails" comment for you: The earlier you give her the message "this is essential medicine and we WILL give it to you," the better your life will be for any following medicines. As a result, my husband would hold her in his lap, arms keeping her body, arms and head stationary, his leg over hers if the first attempt failed, and I would administer a swallow of the medicine at a time(in our case it was liquid in a syringe) to the back of the throat, hold her lips closed, and gently stroke her neck(throat) telling her to swallow. FROM THE MINUTE WE STARTED,WE WERE EMPATHETICAL, TALKED CALMLY, SYMPATHETICALLY, FIRM AND CAREFULLY QUICK. It is exactly the way you need to give a pet medicine by mouth.
If the pill is really tiny, maybe just cut it in fourths, give her favorite drink through a straw while holding her lips closed to get a swallow...If you can powder the pill (morter & pestle) and syringe with water as described above.
This must be the procedure any time your attempts to give it other ways are rejected. If a child so young, believes it can walk in the middle of the road at any time, will the mom cajole and mollify the child and hope their child will eventually come to them? NO. The road and the medicine are both safety issues. The PARENT decides.
With the above in mind, work as a couple and keep her safe.
Good luck, it's not easy and it may take four or more days of experiencing the effort before a full dosage actually gets swallowed. Also, you may have cooperation after the second or so time, keep having two people home for at least a week before you're over the first hurdle.