Implement analytics client and server