add a config option to allow preprocessing of events sent to analytics logger
Merge branch 'event_filter'