addAnalyticsListener

Add an analytics event listener.

This must not be used before start has been called.