Add configurable callback for deciding whether or not to send an event