Adobe has a built in functionality called Activity Map.. every time you click on a link (anchor) or a button, it tracks three pieces of information:
- The page you were on when you clicked (using the pageName value of that page)
- The link text that was clicked
- The region in the page
(These values all attach to the page view of the page that the click sent you too, it doesn't have to be on a separate server call... if you have special clicks, the activity map data will attach to those, and it will also attach to exit links - if the link clicked takes you offsite)
Out of the box, the region isn't too useful, it just grabs the closest "id" value from your code, but with a little effort you can break your site into usable regions.
You can also override the link values too if you want...
Frederik Werner wrote a great blog post about using Activity Map better, and though there are many ways to accomplish this, this is a great place to start to see it all in one place:
https://www.fullstackanalyst.io/blog/adobe-analytics/understanding-and-getting-the-most-out-of-activity-map-in-adobe-analytics/