Skip to content

Analytics Setup ​

Pro & EnterpriseAnalytics requires a Pro or Enterprise subscription.
Compare plans

Track how visitors interact with your map — clicks, searches, routes, and more.

Enabling Analytics ​

  1. Open your project in the editor
  2. Open the Analytics panel in the editor sidebar
  3. Toggle Enable Analytics
  4. Select which events to track
Analytics panel in the editor — enable toggle and tracked events

Event Categories ​

CategoryEvents
AreaClick, Hover, Focus, Bookmark
MarkerClick, Hover, Info Open
FloorChange, Zoom Focus, Load
SearchQuery, Result Click, No Results
WayfindingRoute Request
ZoomZoom Change, Pan Move
GeneralComponent Loaded, Unmounted, Interaction Time
ButtonClick (the custom action button on an object card)

You can enable or disable individual events. Only enabled events are tracked and counted toward your analytics storage.

How It Works ​

  1. The embedded map collects events in the browser
  2. Events are batched and sent to the Layota API every 10 seconds
  3. Events are stored and aggregated on the server
  4. View reports in the Analytics Dashboard

Visits That Are Not Counted ​

Your own visits — checking the map before you share it, testing it on a staging site — would land in the numbers next to your guests'. Two ways to keep them out:

  • In your browser. Editor → Analytics → Don't count my visits. Every map you open in this browser stays out of analytics until you switch it off. It works for the map's own link; a map embedded on another website keeps its storage apart from ours, so use the link parameter or the attribute there.
  • For one link or one embed. Add ?analytics=off to the map link (https://app.layota.app/embed/PROJECT_ID?analytics=off), set analytics="off" on <layota-map>, or pass analytics: 'off' to the SDK. With forward-query, ?analytics=off on your own page's URL reaches the map too.

Nothing else changes: the map works as usual, and your page still receives every event. ?analytics=on counts a visit even in a browser that is switched off — handy when you test the numbers themselves.

Data Retention ​

Analytics is kept for 90 days: individual events and daily totals alike. Older data is deleted every night. The dashboard calendar and the export reach back as far as it is kept.

Need a semester, a year or more? Write to us. We can set a longer term for your organization, or keep your analytics without a limit.

Privacy ​

  • Analytics does not track individual visitors or use cookies
  • Only interaction events (clicks, searches) are recorded
  • No personally identifiable information (PII) is collected

Layota Documentation