I am currently involved in launching a new site that uses Matomo for its analytics and that will have an accompanying Twitter and Mastodon feed. At the moment all traffic coming from posts on Twitter is recognised as coming from Twitter and classified under ‘Social network’ but traffic coming from Mastodon is considered a ‘Direct entry’ and not classified under ‘Social network’.
I understand that Twitter traffic comes from twitter.com or t.co whereas Mastodon traffic can come from any domain that runs a Mastodon server. That makes Twitter traffic much easier to identify.
Would it be possible to make Matomo correctly identify Mastodon traffic?