counting clickthroughs
Posted: Thu Feb 17, 2005 11:24 am
I am creating a directory of websites.
When someone clicks one of the links and leaves my site I would like to be able to record which hyperlink they clicked and when.
The only way I can think of doing it is to have a "hidden" page between the hyperlink on my site and the final destination.
If a user clicks a link it goes first to a hideen page which processes the event, sends the details to a MySQL database and then redirects to the final destination using a meta refresh tag.
Is there any other (neater) approach I could take?
When someone clicks one of the links and leaves my site I would like to be able to record which hyperlink they clicked and when.
The only way I can think of doing it is to have a "hidden" page between the hyperlink on my site and the final destination.
If a user clicks a link it goes first to a hideen page which processes the event, sends the details to a MySQL database and then redirects to the final destination using a meta refresh tag.
Is there any other (neater) approach I could take?