Mayzie tried this trick just this morning.

She had taken to peeing on the floor just short of the tray her pad is in.

So I started giving her a little pc of gerber grads apple (freeze dried) whenever I see/hear her on the pad. So this morning, she goes and I give her the treat and then she promptly walked over hit the tray with her paw to make a sound and then came back to me for another treat. ---I don't think so, missy!
They are just so funny and so daggone smart!