I have audio files (.mp3 and .wav format) saved on my server. They're normally supposed to be played through a webpage and I can track how often that page is opened.
But people can now refer directly to that sound file's link on my server and play it. How do I track the number of times these audio files are played?
An example: Normally user access the recording through this page, https://namedrop.io/keshavmalani But now a person may choose to integrate their NameDrop recording into something else using the direct recording link: https://namedrop.io/profile/audio/km.mp3 and ideally I want to be able to track it.
I don't have a redirect to the audio file setup. Recommendation on how I would implement this without causing slowdown? I'm a beginner - intermediate coder.