Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web site traffic tracking 1

Status
Not open for further replies.

kpetursson

Programmer
Jan 28, 2002
313
US
I know there are a lot of free web counters available, and many paid services for anailysing your web traffic.

Is there any way to do this your self.

IE. reading the a log file manually?
would I need to create some scripts to run automatically when the web page is loaded to creat said log file?

Your help and input is greatly appriciated!



Kevin Petursson

I have a mind like a steel trap!
Nothing gets in,
Nothing gets out!
Just waiting for it to rust!
 
A solution favoured by many includes the use of a server-side database and has server-side code (php, asp, jsp etc)code that increases a counter and records this increase back to the database every time the page is loaded.

With no experience, your best bet may be to investigate PHP and MySQL. You'll probably find plenty of prewritten solutions as well as tutorials with that combination... and it works fine.

All the best,
Jeff
 
would I need to create some scripts to run automatically when the web page is loaded to creat said log file?

The logs are created automatically by the web server, your host should give you access to these. The best way is to get those files and then run a program on your local machine to parse them.

This is assuming that your host doesn't already provide a stats package, try asking them, you might be suprised. [wink]

Hope this helps

Wullie


The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
You might want to take a look at awstats as well. It's free and pretty quick to set up for basic tracking.
It has more power than we've taken advantage of- I just fiddled with it long enough to make some reporting available to management, intending to come back to it...
 
I agree with cookiespin. you should take a look at awstats.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top