User's location via API


We’re primarily using the API to search our site. This means that in the analytics, all of our users are coming from the same location (the server we’re hosting the search on). Is there a way to work around this?


Unfortunately, there isn’t a workaround for the Live Analytics available in the dashboard. You would have to use a client-side search implementation, instead of hosting search on the server.

You may be able to use Google Analytics site search with Swiftype to track user searches by location.