I know PostHog is only lightly mentioned in the article, but I would highly recommend checking them out! [0] (They're also open-source and provide a self-hosted solution. [1])
Unless their stuff doesn't work well. I only spent a couple of hours so I might not have noticed UX issues that would have been painful to deal with.