You can use Google Analytics. The Google “Site Kit” WordPress plugin is a good starting point. However, there may be additional setting up needed to track link clicks.
Thank you so much. I don’t need to track the links only count how many clicks. Best.
You could use JavaScript to install click event listeners on any links you want to track. The listener callback can send an Ajax request to your server, which could keep a tally of how many Ajax requests it gets from your script. That’s essentially what Google Analytics does for you (except going to Google servers instead of yours). I think GA is your easiest option even if you don’t want to make full use of what it can provide.