Wednesday, March 14, 2021

Track Visitor Stats

Know More About Your Website Visitors

Your website looks fantastic! You've invested a huge amount of time and a little money getting it up and running! You've had a few visitors, you think. Not many people buying anything, or leaving comments. Just how many people are visiting your site? Where are they coming from? Are they new visitors, or returning visitors? What pages are they going to? What pages are they coming from? What pages are the most popular? What pages are your visitors not even bothering to look at?

That's the kind of questions you ask yourself when you have a website intended to drive traffic and sales. I looked at a few free and paid services out there that are capable of providing this kind of information, and all-in-all, they are pretty good. I also knew if I researched hard enough I could write a script to provide most, if not all, of the information I could get from a paid service.

Since websites first appeared, people have analyzed what was happening with their sites. It started with simple counters on personal pages to track the number of visitors. But now, website owners are looking for more sophisticated statistics. Today, stats are the essential tool to measure and manage a business or a website successfully.

So, you want to know where your visitors are coming from, where they are going on your site, and how many times they have visited. This PHP script will provide all that information and more.

View DEMO for TrackIP

The script is essentially self-contained. Other than placing a simple link to the tracking file on the page you want to track, you don't have to do anything else. You don't have to mess with databases at all. Install the tracking files in your include directory and point your page to the tracking file like so.


That's it! All your visitors will be tracked and the stats will be stored in an XML file. No messing with databases.

To view the visitor stats is just as easy. Just create a blank php file. You can call it "visitors.php" and include the following line:


If your include directory is different, just adjust the include line as required.

On the visitors page, click on the IP address to learn more about the particular visitor. I've been using this script for a few months now and it has given me a wealth of information and has lead to improved creative direction and sales.

Note that the TrackIP script uses the GeoBytes' IP Locator service, which is free for the first 20 lookups per hour. You can purchase additional lookups really cheap - about $10 per 10,000 lookups. This script only uses the lookup service for each unique IP address. After that it just check the database for the IP address and uses the stored info instead of using the GeoBytes lookup service again. Very efficient.

The script also makes use of Greybox technology by Skeletonz to display the IP information, and a language script by Harald Hope.

So what information are you going to find out about your visitors. How about:

  • What countries your Web visitors are surfing from
  • What city / state or province are your visitors from
  • What time did they visit
  • How many times have this visit been to your site
  • How many visitors have you had to your site
  • What pages your visitors start their visit on
  • What pages your visitors go to next
  • What sites are sending visitors to you
  • What search words are being used to find your site
  • What browsers your visitors use
  • Are your visitors using a mobile phone
  • What kind of computers (OS) are your visitors using to surf the Web
  • What screen resolutions your visitors set their monitors to
  • Does your visitor have JavaScript turn on
  • What is your visitors IP address
  • What time zone are your using in
  • What language are your visitors using

Pay close attention to your stats and you can chart what your users are doing over time. You can see what your site visitors are reading and what keeps them coming back for more. You can see what your visitors find the most important. Or not important at all. You can then use this information to improve sales, which is really what this is all about. Isn't it?

Learning about your visitors and using this information as a guide is the best way to make sound marketing decisions.

Purchase the script now for only $16.95 and start tracking your visitors.


delicious digg facebook stumble twitter myspace linkedin technorati reddit google springpad blogger | addthis Share More...

speak your mind

If you have something to say, we would love to hear from you.






Get occasional email updates from kidmoses


Donations of any size to this website are greatly appreciated.

copyright © 2004 to the present day | web design by KidMoses
privacy | terms | login | contact