Android Analytics
If you haven't already, please start with the Analytics Overview below.
📄️ Analytics Overview
PollFragment.PollFragmentListener
You can receive analytics events from the PollFragment by conforming to the PollFragment.PollFragmentListener interface.
- Kotlin
class MainActivity : AppCompatActivity(), PollFragment.PollFragmentListener { /// ... override fun didPressViewDetails(option: PollOptionResponse) { // TODO: navigate to the details screen for the option } override fun didReceiveAnalyticsEvent(event: AnalyticsEvent) { // TODO: forward analytics to your system (e.g. Google Analytics) }}