Sorry if this is too broad - I tried finding an answer in the guide and forum, but without success.
I have a Wordpress page with Matomo, and I want to track as goals anything the user does to make contact; in my case, it’s calling by clicking on a tel: link, writing am email by clicking on a mailto: link, or filling out a form which is in the footer by clicking on a #contact anchor link and then submitting a form.
I haven’t been able to track any of these four occurrences. As far as I understand, I could do it by triggering events through JS and onclick; however, it’s not really easy to implement. Are there any other options?