How do you incorporate discounting when calculating the CLV?

You can take your annual discount rate and turn it into a daily discount rate, and apply a discount factor, which is: 1 / (1 + X)^Y where X is the discount rate and Y is the time variable.