PDA

View Full Version : Tracking Link Clicks (such as Websitepublisher)



iKwak
02-13-2004, 11:53 AM
On websitepublisher.net, there is a link tracking system, where the admin would know which links are clicked how many times and other information.

Where could I find the exact script so that I can set one up to track which pages and links are popular??

And is this all the link tracking script do?
TIA.

Chris
02-13-2004, 12:39 PM
I didn't use a premade script, but its easy to code yourself.

You just need a database with 3 fields, link url, link id, and clicks. Reference the script with linkid and have it pull up the url, increment the clicks, and forward the user on.

flyingpylon
02-13-2004, 01:54 PM
If you want to track clicks by time period (day/week/month/year), you'll need to record the date somehow.

One way would be to create a new record for every click, with a field for the date and a field for the URL.

Another way would be to create a new record for a day's worth of clicks for a given URL. This would cut down on database size, and tracking clicks for some smaller time period probably wouldn't be worthwhile anyway.

ozgression
02-13-2004, 10:16 PM
You could always use a simple script like linkster... http://studio.dreamdolphin.com/?section=products&page=php_scripts&script_id=1
________
Mercedes-Benz R230 specifications (http://www.mercedes-wiki.com/wiki/Mercedes-Benz_R230)