Fix revenue analytics

I'm not sure what I would name it or what its responsibility would be.