You really should NOT 'trick' your dog (or cat) into anything. This just breaks the trust bond between the 2 of you.

My dogs are taught to swallow and to chew. So when it comes time for medicine, they are told to 'swallow' and it goes down. I put it in something slickery.

The cats are a bit more difficult to train, but it can be done, and I've succeeded with several.