Analytics Class
A class to access the Mappedin Analyitcs platform. Correct usage will improve Smart Search results, and lead to more accurate insights.
This will be created for you as part of Mappedin.initialize, but you can also create one manually. You are mostly going to use locationSelected
.
-
category
Whenever a category is selected, you should fire this event.
Parameters:
-
category
MappedinCategoryThe category the user selected.
-
start
-
end
Whenever a user requests directions, you should fire this event.
Parameters:
-
start
MappedinLocationThe start location for wayfinding.
-
end
MappedinLocationThe end location for wayfinding.
-
location
Whenever a location is selected, you should fire this event. What "selected" means can vary by venue, but a good rule of thumb is that you fire the event whenever you would show the location's details. Typically this is when the user taps it's polygon on the map, picks it from search results or a category list. or deep links directly into the map.
Parameters:
-
location
MappedinLocationThe location the user selected.