AnalyticsControllerInterface
public protocol AnalyticsControllerInterface
                Analytics methods
- 
                  
                  
Update analytics with current screen in view
Declaration
Swift
func updateScreen(currentSreen: String)Parameters
currentSreenAn identifier for the current screen
 - 
                  
                  
Update analytics with current screen in view
Declaration
Swift
func updateScreen(currentScreen: String, bundleContent: MNAnalyticsBundle)Parameters
currentSreenAn identifier for the current screen
bundleContentAn identifier for the data content
 - 
                  
                  
Add a search event for screen with content
Declaration
Swift
func addSearchEvent(searchBarId: String, searchString: String, selectedString: String, bundleContent: MNAnalyticsBundle)Parameters
searchBarIdAn identifier for the search bar
searchStringText enetered in the search bar
selectedStringText selected from suggestions
bundleContentAn identifier for the data content
 - 
                  
                  
Add a marketing event for screen
Declaration
Swift
func addMarketingEvent(eventType: MapstedMarketingEventType, campaignId: String, interactionType: MapstedMarketingInteractionType)Parameters
eventTypeType of event (popup, etc)
campaignIdAn identifier the campaign
interactionTypeUser interactcion type (dismiss, etc)
 - 
                  
                  
Add a marketing event for screen
Declaration
Swift
func addMapEvent(eventType: MapstedMapAnalyticsActionType, wayPoint: Searchable)Parameters
eventTypeType of event (popup, etc)
wayPointA particular waypoint that generated the event
 
      AnalyticsControllerInterface Protocol Reference