Bug 33644

Summary: Link tracking
Product: Koha Reporter: Christopher Brannon <cbrannon>
Component: OPACAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: new feature    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Christopher Brannon 2023-05-01 18:43:10 UTC
It would be awesome if we could add a unique parameter to the opac url that, when used, would be recorded in a table as a use.  It would record the link, and how many times it has been clicked.

Sometimes we set up links on signage, or websites, or in a QR code, and it would be great to measure which links are being utilized where.

So, maybe we could have a link that is in a QR code being displayed in a particular location, like https://YOUROPAC/cgi-bin/koha/opac-search.pl?q=(su%3A%7BGardening.%7D).  Maybe we add a parameter like &track=qrnorthdisplay, and every time this link is visited, it would save to a tracking table, maybe linktracking.  It would save the &track parameter, and then keep count every time that link is hit.  That way it would only have one record in the table, rather than one for every click.

Maybe you want one for every click so you could time stamp it and see when it is being clicked?  I don't know.  But this would be such a handy feature, especially for establishing how effective links are, and usage.