A simple but powerful client-side event tracker