Only give treats when the command is carried out fully. (platpets.com)
You can even teach your pet to wait in the entry way for you to wipe their paws and then give them a treat as a reward for their patience. (sandiegopetsmagazine.com)
Do not give him the treat if he gets it wrong, as this will not reinforce the behavior. (platpets.com)