Calculate no of times a record has been viewed

How can I calculate number of times a record has been viewed?

Answer

If you display the record in a Visualforce page, you can include Google Analytics code in the page. This will generate stats on sessions, page-views and users. Here’s some sample code.

Attribution
Source : Link , Question Author : hellraizer , Answer Author : Scott_in_London

Leave a Comment