A simple client-side & server-side analytics library