If an advertiser wants to track clicks, you might want to check to see if Google Analytics can track your outbound links. According to Google Support for Google Analytics, you can use Analytics Events to track clicks on links that take users to a website other than your own.
Google Support states that if you copy and paste this script exactly as it appears here, your outbound clicks will appear in your Analytics Events reports with a Category of "outbound" and an Action of "click". (In the snippet, these are shown in bold.) You can use these values, or change them and define your own values. Learn more about Event components.
Your website must be using the analytics.js tracking code, and not older deprecated versions of tracking code.
The recommended script is here ...
Track outbound link