Tracking events
Learn how to track events in your TurboStarter extension.
The strategy for tracking events, that every provider has to implement, is extremely simple:
You don't need to worry much about this implementation, as all the providers are already configured for you. However, it's useful to be aware of this structure if you plan to add your own custom provider.
As shown above, each provider must supply the track
function. This function is responsible for sending event data to the provider.
To track an event in any part of your extension, simply call the track
method, passing the event name and an optional data object:
Congratulations! You've now mastered event tracking in your TurboStarter extension. With this knowledge, you're well-equipped to analyze user behaviors and gain valuable insights into your extension's usage patterns. Happy analyzing! 📊
Last updated on