Backend Google Analytics replacement

I’ve found that Google Analytics is starting become unreliable, it’s full of spam and new funnels don’t work for old data. I also see more and more people using content blockers which prevent the usage of Javascript tracking.

Does anyone use any backend analytics gems to track visitors?

you could try: https://ankane.github.io/ahoy/

Thanks for the great suggestion @asecondwill