Analytics

public struct Analytics

The Analytics class is for sending analytics data to the Mappedin CMS. Some analytics events are fired automatically, but you are responsible for sending selectedLocation and selectedCategory, and they should also be fired in other parts of your app, even when the Map is not visible. This will make Smart Search work better for your venues

  • Informs the Mappedin Analytics platform that a given location has been “selected”.

    Declaration

    Swift

    public static func selectedLocation(_ location: Location)

    Parameters

    location

    Location that has been selected

  • Informs the Mappedin Analytics platform that a given category has been “selected”

    Declaration

    Swift

    public static func selectedCategory(_ category: Category)

    Parameters

    category

    Category that has been selected

  • Informs the Mappedin Analytics platform that a given location has been selected for wayfinding

    Declaration

    Swift

    public static func startedWayfindTo(_ location: Location) -> Wayfind

    Parameters

    location

    Location that has been selected for wayfinding

  • The purpose of this class is to send a response once a wayfind session is completed. Since our API allows multiple,

    See more

    Declaration

    Swift

    public class Wayfind