Personalise Site - Now implicitly gain a users geo data

02 December 2007
Scott Sherwood

The second version of the Personalise Site plugin has just been released and now includes methods to implicitly gain a users geo data.

These additions are intended to be used to further customise and improve a users browsing experience.

For example you may want to display content on a homepage that is relevant to a users location or you may want to automatically select the right country in a registration form to improve the signup experience.

Note. This plugin will currently return UK if in development mode.

This can be achieved in your views by making use of these methods:

Returns which country the user is in

<%= which_country %>



Returns which city the user is in

<%= which_city %>



The users geographical coordinates
longitude:

<%= longitude_coordinate %>


latitude:

<%= latitude_coordinate %>



As usual, if anyone has any suggestions on how to further improve this plugin, please send your comments over.

Homepage: http://www.railslodge.com/plugins/303-personalise-site
SVN: http://svn.railslodge.com/svn/plugins/personalise_site/

2 comments

By Guest, 5 months ago
0 hits   hit up beat down

Where is the geodata coming from?

By Guest, 5 months ago
0 hits   hit up beat down

hostip.info provide the data.

Please log in to leave a comment