Geotargetting Content in Drupal
Geotargetting Content in Drupal
Room:
tags
| | |Come learn strategies for geo-targetting content to users of your Drupal sites. This session will cover the tools used for achieving geo-targetted content. Case studies will be presented on how these tools can be used to selectively present content based on where they are in the world.
Drupal has a number of tools for geotargetting information for people once they are logged in or have given you an address to work with. When it comes to targetting content for users where you only know an IP address, Drupal doesn’t really offer much out of the box. However, your web server itself can be a useful tool in delivering the data you need to geolocate your content, and there are a number of tools available for making more relevant information come up when people initially hit your site.
This session will focus on the following techniques for geotargetting content:
- How to ‘plan’ for geotargetting, from a technical perspective
- Benefits and drawbacks of various GeoIP databases and versions
- Using mod_geoip in Apache to get information such as a visitor's country, city, state, zip code, latitude and longitude
- Special caching and performance scenarios: keeping sites fast while geotargetting
- Integrating this data with Boost and Varnish to present alternate versions of cached content
- Creating cache-safe, geo-aware blocks
- Integrating data with Google Maps and OpenLayers
- Looking forward: The HTML 5 Geolocation API Specification