Tracking of anchor/outbound communication links

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?

1 Like

You can track these interactions in Matomo without using JavaScript by enabling Outbound Link Tracking for tel: and mailto: links under Matomo’s Admin settings. For the #contact anchor, you might need to set up an event in Matomo’s Tag Manager. If the form submission reloads the page, tracking it as a goal conversion via a “Thank You” page URL might also work.

1 Like

Thank you, I now got all of those to work with Tag Manager.

1 Like

You are welcome mate!