I used to not log it in at all, or only log in the amount I spent beyond the value of the gift card. Lately, I've started entering a transaction with the date, payee, category, and an expense of $0.00. Then in the memo blank, I say that I used $x value of a gift card (I used YNAB). This way it doesn't come out of an account because I didn't spend any money, but the transaction is recorded so that at the end of the year, I can look back and say, "My annual expenses were $x, but if I include the value of gift cards spent, it is $y more." My thought is this will give me a more accurate idea of my annual expenses, though admittedly, I don't receive all that much in gift cards each year.