Added ability to track events on the server