On my website I have a page where a user can select a number of files, press a download button which then starts a php script which takes the selected files, creates a zip file and downloads the files to the users machine. I would like to track if possible the selected files (names and number ) and the fact that the zip file was downloaded.
I would imagine that I would have to call the Piwik php api from within the script and set up sometype of variable tracking.
How do I do this.
Many thanks in advance.