Castopod and analytics support

Continuing the discussion from Podcast analytics
https://forum.matomo.org/t/podcast-analytics/5371/2

Hi all, wondering about how to figure out embedding Matomo analytics into a podcast feed, perhaps as a
custom RSS tag
https://blog.castopod.org/add-your-own-rss-custom-tags/
or via their hooks functionality
https://docs.castopod.org/develop/en/plugins/hooks/

See Castopod request for Matomo analytics support https://code.castopod.org/adaures/castopod/-/issues/257

Seems I cannot post links, so here you go. Thanks for any suggestions!