Looking for good pluggable click tracker mechanism #click tracker
Edit
by Nick P - 5 years ago (2019-06-20)
Would like to track how many times various buttons are clicked
| Building an app and I want to test feature demand before building it. So I'm looking for a way to track button, image and link clicks. It would be great if I could track a sequence of clicks from a particular ip or user. Thank you for your help |
Ask clarification
1 Recommendation
This class can generate links and keep track of clicks on them.
It can take the URL of a given link and returns another URL that will be used to keep track of the clicks on that link.
The link points to a script that will be used to record the clicks on a database accessed via PDO, and then it redirects the browser to the original link.
Alternatively the class can also store the clicked links of text files.
The database connection string, the URL for invalid links, the destination link base URL, the file for storing click counts are some of the configurable parameters.
| by Dave Smith 7620 - 5 years ago (2019-06-22) Comment
This will do most of the work for you. It only tracks the link and count total, so you would need to create a second table to store the link and ip numbers for your historical tracking. |