Tracking outbound links

greetings
I want to know if I can track links from my site to outbound sites.
For instance I create a link to “www.example.com” and I want to track it how many people click on that link. Is this possible?
(something like this: www.mysite.con/piwikfolder/?url=www.example.com)

Outlinks can be tracking using enableLinkTracking() in the JavaScript tracking code.

Your example, however, looks like a redirect. You can either use a trackLink() + page load on a short-lived redirect page, or use the server-side PiwikTracker in your redirect script.

this example?
Link I want to track as an outlink

Yes. The “piwik_link” is optional if the site is clearly an outlink.