How do I track content or post sharing on social media

Hi everyone? I want to track which post or news article from my website has been shared on social media?
I am able to track share on social media buttons’ onclick information but I am unable to see whether the visitor has successfully shared that post or left it just after clicking on social media icon.
Screenshot from 2020-11-02 08-54-49

This seems to my impossible.
As the on site interaction happens on your site and you can detect any interaction with Matomo.

But as soon there is another interaction that is not happening on your site, different tab you can’t communicate between tabs.

@Lukas and @Matthieu are you agree with above answer? If yes then do you know about any 3rd party API which can do this ??