Analytics
- Analytics object is automatically setup when you call
const venue = getVenue(...)
and can be accessed withvenue.analytics
. - Setting up "location selected" analytics event helps displaying floating labels. They are ranked based on analytics as not all labels can be shown at once, more popular ones are prioritized.
- Search and Blue Dot events are automatically sent by the SDK
- List of trackable events:
- location selected (
analytics.locationSelected(location)
- category selected (
analytics.categorySelected(category)
- map view loaded (
analytics.mapViewLoaded(???)
) - directions request (
analytics.getDirections(startLocation, endLocation)
)
- location selected (