Analytics lib can send events to a server and handle the response