I would like to use Matomo for identifying the users who perform a specific tracked action or event.
Did a search in the API reference but couldn’t find the answer to my need. Is it possible to get this kind of results with Matomo’s API? If yes, thanks for telling me how to do so.
I am a Matomo beginner like you and am learning how to track specific events. There are at least two ways to achieve this goal: content tracking and Javascript event tracking. I am sure that there are more, but these are the two primary ones.
How would the user’s name effect your decision between Content Tracking and Event Tracking?
From my humble perspective as a beginner I see no reason why you cannot use both forms of tracking on the same page.
Also, just because a user is not required to give his name does not mean that you cannot track him. You can track single-user activity by their IP address.
In the end, I do not understand why not having a user name would dissuade you from using Content Tracking.
If any of the users you are planing to uniquily identify per username are in the EU, you’ll need to consider GDPR and at the very least get their consent, but also have to keep in mind other things.
This is the reason that the opt-in/opt-out checkbox for use of a tracking cookie is so important. I spent an entire week just getting it to work properly.