Using cohort analysis to determine LCV in an eCommerce business (with PHP code) | Hacker News Reader