SlogBase is an open source tool to track the movement of avatars in Second Life. The code offers a database that can be attached to objects in Second Life and sends sensor data to an external database.
It was develop with having in mind the marketing aspect. It is advertised by saying how important it is to know what visitors do and what they are interested in. By monitoring the movement on ones owned land the offers can be adjusted or exchanged based on the analysis of the logged data.
A lot of information can be logged with this tool. Beside the location, speed and direction other additional data can also be logged. This can be age or mode of transport.
Image taken from: SlogBase