It's freemium. People pay between $5 and $50 per month for extra features. It's really not hard to compete with Google Analytics (especially when you start before GA existed). There are a ton of large companies making millions and billions in the analytics space.