First of all, get a new host! Those popup adds will drive everyone away from your site..
Theres two ways..
1) You could write a javaScript which writes to a text file. The file could simply contain an integer which is incremented. You could run the script everytime a link is clicked using the onclick event.
2) you could use a server-side language which logs the data to a database each time a page loads.
Do you know where I could get this javascript from, beacuse I am rubbish at this stuff.
"You could write a javaScript which writes to a text file. The file could simply contain an integer which is incremented. You could run the script everytime a link is clicked using the onclick event"
well, for example; users who encounter errors with other windows that cause all browsers to shut will not be tracked; users who disconnect fro mthe Internet while browsing would also not be tracked.
The best way is to have every link directed towards the same page. Have each link use a different queryString variable which selects the correct page URL from a database and increments a table field to show that someone has clicked the link..
Bookmarks