cleaning up analytics event categorization