How to check if snowplow tracker has been initialised?

I am implementing Browser Tracker v3. My project can run on different environment and not all of them will have tracking enable. If we do not initialise tracker and executing tracking then we get warning message ‘Snowplow: Warning: No tracker configured’. Is there any way to check if tracker has been initialised?

Hi Arthur,

The tracker does not currently provide a way to check the initialised tracker instances. But I think it makes sense to provide such an API (some of our other trackers already provide it). I created a Github issue for us to add the functionality. We will discuss internally how to approach it.