Returns the most frequent location of your user based on Sailthru’s geolocation data.

 mixed user_geo_home( string geo_field )
  • The geo_field specifies which form of geolocation data you want returned.
    The valid options are: city, country, state, zip, postal, and coordinates.

    • city, country, state, zip, and postal will all return their values as a string.
    • coordinates will return an array with the latitude and longitude of the most common ZIP/postal code in the format [latitude, longitude].



Returns NY US


Returns 10010 US


Returns [40.712, -74.005]