I created a free property management web site template within a zip file that people can download.
I want to dynamically record how many times it has been downloaded.
I understand how to create a DB table and record each time a page has been accessed but I am not sure how to do it when someone clicks on the download button.
Here is what I am thinking.
When the click on they button, instead of linking the button to the zip file I would redirect them to another page that would first enter the click to the database and then redirect them to the zip file.
Would that be the best way to do this?