I’ve seen phoenix_analytics mentioned recently. Haven’t used that myself, but if you really don’t want to roll your own solution, I think it can fit your needs.
However if you were to do this without introducing a third party service then yes you’d need to store this in Postgres, which should be available if you followed the Fly tutorial.