com.mapsted.positioning.CoreApi.Analytics |
![]() |
Use AnalyticsManager for analytics related functionalities
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
addMapAnalyticsEvent(ISearchable iSearchable, MapAnalyticsActionType actionType)
Notify of a map-interaction event
| ||||||||||
abstract void |
addMarketingAnalyticsEvent(String campaignId, MarketingEventType eventType, MarketingInteractionType interactionType)
Notify of a marketing analytics event
| ||||||||||
abstract void |
addSearchEvent(String searchBarId, String searchString, String selectedString, AnalyticsBundleContent analyticsBundleContent)
Notify that a search event occured
| ||||||||||
abstract int | getAnalyticsCollectionMode() | ||||||||||
abstract boolean |
getLocationLoggingStatus()
Get the current status of whether or not to log position analytics data for real-time analytics
| ||||||||||
abstract void |
setAnalyticsCollectionMode(int collectionMode)
Set up the analytics mode.
| ||||||||||
abstract void |
setLocationLogging(boolean enable)
Set up whether or not to log position analytics data for real-time analytics
| ||||||||||
abstract void |
updateScreen(String currentScreen)
Notify that a screen change occurred
| ||||||||||
abstract void |
updateScreen(String currentScreen, AnalyticsBundleContent analyticsBundleContent)
Notify that a screen change occurred
|
Notify of a map-interaction event
iSearchable | item that the user interacted with (e.g., selected entity or tag) |
---|---|
actionType | the action that was taken |
Notify of a marketing analytics event
campaignId | identifying the campaign |
---|---|
eventType | the type of event shown (e.g., popup, push notification) |
interactionType | how the user interacted with the event |
Notify that a search event occured
searchBarId | identifying string for the search bar used (e.g., screen or screen location) |
---|---|
searchString | the string that the user typed in |
selectedString | the string of the item that was selected (if they selected an item) |
Get the current status of whether or not to log position analytics data for real-time analytics
Set up the analytics mode.
The default mode is analytics on. There are three modes in total: analytics on, analytics off, and analytics on only when wifi is on.
collectionMode | The analytics mode you want to set. |
---|
Set up whether or not to log position analytics data for real-time analytics
enable | whether to enable or disable |
---|
Notify that a screen change occurred
currentScreen | identifying string for the new screen |
---|
Notify that a screen change occurred
currentScreen | identifying string for the new screen |
---|---|
analyticsBundleContent | optional bundle content to indicate more specifics regarding screen (e.g., selected item or filtered by categories) |