Assume that you give a $20 gift card if they spend $50. The original entry is going to be:

Dr. $50 - Cash
Dr. $20 - Advertising or Cogs Acct.
Cr. $50 - Revenue
Cr. $20 - Deferred Revenue
...