added a callback used to log exchange connector errors
added analytics to adserver and exchange connector