My most usefull technique...
I usually just hold on to kahlua, open her mouth ... put the pilll in and just give a gentle blow in her face, it startles her a little bit so her reaction is to swallow, works like a charm and shes never spits the pill back out!
My vet actually recommended it