Tracking Methods in Mida:
mida.track()
This is our recommended and most versatile tracking method. It records events in a way that allows them to be used as goals across multiple experiments. One of its biggest advantages is that it works retroactively—you can launch a test first and define your goals later without missing any data.
mida.converted()
This method is more limited in scope. It ties conversions directly to the visitors in a specific test and updates their status in real-time. Unlike mida.track(), it doesn’t provide retroactive functionality or cross-experiment goal sharing. While it works for simple use cases, mida.track() is better suited for long-term and more flexible testing needs.
In essence:
mida.track()logs events to the database, and when reports are generated, it fetches events that align with the test results during that period.mida.converted()directly flags visitors in a test as "converted" in real-time, without broader tracking capabilities.
