Don't replace Hrefs for internal links

When using content-tracking the function replaceHrefIfInternalLink (matomo/piwik.js at 82ba03fb2bc5676933517a74293b2be5a242a87a · matomo-org/matomo · GitHub) is called.

This function replaces all internal links that are content-tracked with Matomo Redirects.

How can I disable this behavior in a supported way?
I don’t understand why I need the redirects since there are event receivers tracking the link click anyways (added in the function setupInteractionsTracking). I don’t want the redirects since the URLs just don’t “look” nice for the user and create an additional roundtrip when clicking on regular links.