Added option to track discount code usage