in order to save some processing juice (if you expect a lot of visits), 
just save the ip and calculate the region later with something like 
python-geoip.

Il giorno domenica 29 luglio 2012 23:10:41 UTC+2, BlueShadow ha scritto:
>
> Hi,
> I like to get information about usage of a link to an outside page. To 
> track some advertizing progress^^.
> So My idea was to use a URL to my web2pyapplication which redirects to the 
> URL I want to get stats about.
> I would like to record the day and the number of clicks as well as the 
> region(geoip)
> so the db tables would be pretty simple like one primary key and URL to 
> redirect to in one table.
> a second for the results. date, hits region, tracked URL
> for recording the links I would use someting like: pageStatistics by Anton 
> G. Mueckl
> http://www.web2pyslices.com/main/slices/take_slice/27
>
> My problem is I got no idea how to get the region(geoip) information
>

-- 



Reply via email to