http://www.icyphoenix.com/viewtopic.php?f=28&t=3701&p=25563#p25563
-----------------------------------
moreteavicar
Sat 08 Mar, 2008 00:11

Re: Track Visitors To Your Website Using Google Maps
-----------------------------------
[quote user="ieio" post="25029"]The only thing to remember is you have to call add_geoip() on every page you plan on recording the Ips for. It should be simple to extend this to use on any page you want. You would also want to comment out line 41 above, and call that function somewhere else. This way you're only recording information when you include the script, instead of generating the map. For example, say you have index.php that your main website is on.[/quote]
I think you'll be better off adding it to page_header.php, then it will be called whatever page is viewed.


