I am interested to know how can I add outbound link tracking via Analytics.
The code for event tracking is below, so since this probably falls outside templates, I suppose one of core files would need to be modified.
<a onclick="gtag('event', 'click', { 'event_category': 'Outgoing Link'...