added logging for search engine events on the plugin side