add option to disable event tracking