| java.lang.Object | |
| ↳ | com.mapsted.positioning.AnalyticsImpl |
Mapsted Analytics API is the public API for logging mobile analytics data in the positioning SDK.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | AnalyticsImpl.AnalyticsBundleBuilder | ||||||||||
| class | AnalyticsImpl.SearchData | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
addMapAnalyticsEvent(ISearchable iSearchable, MapAnalyticsActionType actionType)
Notify of a map-interaction event
| ||||||||||
| void |
addMarketingAnalyticsEvent(String campaignId, MarketingEventType eventType, MarketingInteractionType interactionType)
Notify of a marketing analytics event
| ||||||||||
| void |
addSearchEvent(String searchBarId, String searchString, String selectedString, AnalyticsBundleContent bundle)
Notify that a search event occured
| ||||||||||
| int | getAnalyticsCollectionMode() | ||||||||||
| boolean |
getLocationLoggingStatus()
Get the current status of whether or not to log position analytics data for real-time analytics
| ||||||||||
| void |
setAnalyticsCollectionMode(int collectionMode)
Set up the analytics mode.
| ||||||||||
| void |
setLocationLogging(boolean enable)
Set up whether or not to log position analytics data for real-time analytics
| ||||||||||
| void |
updateScreen(String currentScreen)
Notify that a screen change occurred
| ||||||||||
| void |
updateScreen(String currentScreen, AnalyticsBundleContent bundleContent)
Notify that a screen change occurred
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.mapsted.positioning.CoreApi.Analytics
| |||||||||||
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 |
|---|---|
| bundleContent | optional bundle content to indicate more specifics regarding screen (e.g., selected item or filtered by categories) |