Discount codes are effective because they create a sense of urgency and exclusivity. Consumers are more likely to make a purchase when they feel they are getting a special deal. Additionally, discount codes can be personalized, making the recipient feel valued and increasing the likelihood of a conversion.