add some basic event tracking