I am looking to implement a page view tracking system on one of my websites. The website is a directory where suppliers can advertise their services. Suppliers have a unique profile page on the site, e.g mysite.com/user/abc-profile.html, e.g mysite.com/user/my-listing.html The idea is that suppliers can log in to their account area on the site and view stats on how many people are visiting their listing. Ideally I want to display this as : Total views | Total today | This week | This month | This year I'd also like to track somehow how many times their contact button has been clicked tho. Any ideas how to go about this? Custom PHP code? Google Analytics API? If someone did this I'd appreciate if they share some insights or some code structure.