It wasn't an ad hominem. Knowing right from wrong helps when TLs don't.
I still wouldn't do it unless I explained what was happening to the guest and they were okay with it. Leads to inaccurate register reporting and opens you to liability as well.
Where is the option to not add the gift card?