Analytics Callbacks
TThe SDK exposes the default analytics events based on the user activities which can further be used in client app for enhanced analytics purpose.
How to integrate the Analytics Callbacks
- Implement the “GluedInAnalyticsCallback" interface in the entry point class
- Implement the abstract interface method in the class
- Now set the “GluedInAnalyticsCallback" reference via the SDK initialize method
GluedInInitializer.Configurations.Builder().setGluedInAnalyticsCallback(this)
- Now the analytics methods will start receiving the events when they get triggered in SDK
Available Callback Methods:Below are the methods which will be triggered on multiple events:
<-- For GluedIn SDK Analytics callback -->
fun screenView(event: AnalyticsEvents)
fun contentLike(event: AnalyticsEvents)
fun contentUnlike(event: AnalyticsEvents)
fun resume(event: AnalyticsEvents)
fun pause(event: AnalyticsEvents)
fun contentPlay(event: AnalyticsEvents)
fun contentReplay(event: AnalyticsEvents)
fun viewImpression(event: AnalyticsEvents)
fun contentStopPlay(event: AnalyticsEvents)
fun viewMore(event: AnalyticsEvents)
fun thumbnailClick(event: AnalyticsEvents)
fun searchButtonClick(event: AnalyticsEvents)
fun joinChallenge(event: AnalyticsEvents)
fun creatorRecordingDone(event: AnalyticsEvents)
fun cameraOpen(event: AnalyticsEvents)
fun creatorFilterAdded(event: AnalyticsEvents)
fun creatorMusicAdded(event: AnalyticsEvents)
fun contentCreation(event: AnalyticsEvents)
fun contentPost(event: AnalyticsEvents)
fun searchHashtag(event: AnalyticsEvents)
fun userFollow(event: AnalyticsEvents)
fun userUnfollow(event: AnalyticsEvents)
fun shareEvent(event: AnalyticsEvents)
fun useHashtag(event: AnalyticsEvents)
fun challengeShare(event: AnalyticsEvents)
fun challengeJoin(event: AnalyticsEvents)
fun viewLeaderBoard(event: AnalyticsEvents)
fun loginClick(event: AnalyticsEvents)
fun registerClick(event: AnalyticsEvents)
fun skipLogin(event: AnalyticsEvents)
fun tabClick(event: AnalyticsEvents)
fun appSession(event: AnalyticsEvents)
fun appLaunch(event: AnalyticsEvents)
fun popupLaunch(event: AnalyticsEvents)
fun popupCTA(event: AnalyticsEvents)
<-- For GluedIn Feed SDK callback -->
fun screenView(event: AnalyticsEvents)
fun contentLike(event: AnalyticsEvents)
fun contentUnlike(event: AnalyticsEvents)
fun resume(event: AnalyticsEvents)
fun pause(event: AnalyticsEvents)
fun contentPlay(event: AnalyticsEvents)
fun contentReplay(event: AnalyticsEvents)
fun viewImpression(event: AnalyticsEvents)
fun shareEvent(event: AnalyticsEvents)
fun contentStopPlay(event: AnalyticsEvents)
<-- For GluedIn Creator SDK callback -->
fun screenView(event: AnalyticsEvents)
fun creatorRecordingDone(event: AnalyticsEvents)
fun cameraOpen(event: AnalyticsEvents)
fun creatorFilterAdded(event: AnalyticsEvents)
fun creatorMusicAdded(event: AnalyticsEvents)
fun contentCreation(event: AnalyticsEvents)
fun contentPost(event: AnalyticsEvents)
fun searchHashtag(event: AnalyticsEvents)