App
To track an event using the app package, you can use the corresponding method on the tracker instance. For example:
Example
val properties = AppAppInstalledProperties()
bird.tracker.app.appInstalled(properties)
Methods
appInstalled()
val properties = AppAppInstalledProperties()
bird.tracker.app.appInstalled(properties)
AppAppInstalledProperties
appUninstalled()
val properties = AppAppUninstalledProperties()
bird.tracker.app.appUninstalled(properties)
AppAppUninstalledProperties
appOpened()
val properties = AppAppOpenedProperties(
fromBackground = fromBackground
)
bird.tracker.app.appOpened(properties)
AppAppOpenedProperties
Property
Type
from_background?
Boolean
referring_application?
String
url?
String
appUpdated()
val properties = AppAppUpdatedProperties(
previousBuild = previousBuild
)
bird.tracker.app.appUpdated(properties)
AppAppUpdatedProperties
Property
Type
previous_build?
String
previous_version?
String
appBackgrounded()
val properties = AppAppBackgroundedProperties()
bird.tracker.app.appBackgrounded(properties)
AppAppBackgroundedProperties
appForegrounded()
val properties = AppAppForegroundedProperties()
bird.tracker.app.appForegrounded(properties)
AppAppForegroundedProperties
appCrashed()
val properties = AppAppCrashedProperties(
=
)
bird.tracker.app.appCrashed(properties)
AppAppCrashedProperties
linkClicked()
val properties = AppLinkClickedProperties(
provider = provider
)
bird.tracker.app.linkClicked(properties)
AppLinkClickedProperties
Property
Type
provider?
String
url?
String
screenViewed()
val properties = AppScreenViewedProperties(
screenName = screenName
)
bird.tracker.app.screenViewed(properties)
AppScreenViewedProperties
Property
Type
screen_name?
String
Last updated
Was this helpful?