Really great question! The best and most proficient way to gather data and count clicks to certain links would be via Google Analytics. Shopify does have it's own analytics, but for more in depth detail such as what you're looking for, Google Analytics will probably work better.
Nick | Community Moderator @Shopify - Was my reply helpful? Click Like to let me know! - Was your question answered? Mark it as an Accepted Solution - To learn more visit the Shopify Help Center or the Shopify Blog