Please check out our articles related to this topic.
It is relatively easy to track clicks on static links. However, when the links are dynamically generated by the CMS it is not that easy. We discuss ways to determine which link was clicked using the data layer functionality of GTM.
Let us know what you need and we'll take care of the rest.