Mamas giving Zantac...

Have you found a good method for ensuring baby gets the medicine? I’m having trouble because I think he spits it up ! I’ve tried giving way in advance of feeding and also after (if I think he’s done spitting up). Any tips to help with giving it to make sure it’s all soaking in ?