add basic event tracking