I am trying to figure out how to handle tracking of my site visitors and have decided to do the following: in each link that I publish (either in emails or banner ads), I will add a ?[parameter] to the URL link so that I can track the source of the visit.
Now, where I need some help is what kind of scripting can I use in my index.htm file to handle parsing and recording this information into a flat file on the server. I want this flat file to be appeneded to every time someone comes to the website (so the script will append write to the file). Any suggestions or, better yet, sample source code that I can use for this???
Just to be clear, my idea is something like this:
link out on net: www.noworkzone.com?source=optinmsg1
As soon as someone comes to my site with this link, the script would retrieve the source parameter, add a date/time stamp, and add this line "optinmsg1, 05/23/2002 11:00 am[cr]" to a flat file on the server called "visitors.txt"
I hope one of you technical gurus finds a generous side to help this technically challenged entrepeneur...