I hope I may present the following problem. I have created a simple page with two buttons for readers to order a free book. They can choose a book for iPad or laptop/computer by pressing one button. I would like to connect a counter to those buttons that registers how often one of the two books is downloaded. I guess I'll have to connect an extra script to each button, but unfortunately, I don't know how to make that script with the counter. https://www.janmac.nl/Kievitenteller/Kievitenteller.html
Photics, thank you very much for your unbelievable quick response. I have signed up and am going to study matomo.
I hope it will work out with my limited knowledge of programming.
You don't need to sign up to use Matomo, but you can pay Matomo to do the hosting for you. If you have a lot of traffic, that option could get expensive... but I suppose that's relative. If the information helps you save money or improve sales, then $29 a month for tracking 50,000 page views (Cloud plan) might not seem so bad.
Photis, I thank you really very much for your efforts but I'm still looking for a solution. As a complete programming layman it is very difficult for me to understand why there is no possibility to make a script only within Hype that easily triggers a counter when choosing between two possible answers. I made another example to avoid becoming boring: https://www.janmac.nl/two%20beer/two%20beer.html
Please anybody, make my day…
Wow, as I had hoped there are many different possibilities within Hype...
Now I can ask an old pupil of mine to help me solve this.
Great answer. Thank you Daniel