function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MONICA JARAMILLO FUENTESMONICA JARAMILLO FUENTES 

How can I know who is using my custom objects and deployments?

Hi, 

I will like to know, who is using the visualforce and custom objects in my organization, also when was the last time they used it?
So I can get an stadistic of which deployments are in use and which aren´t, my organization works in Salesforce Classic. 
Can someone help me please? 

Thank you,
bob_buzzardbob_buzzard
There's a number of ways to achieve this around Visualforce pages - effectively you are just tracking web page access. The following thread:

https://developer.salesforce.com/forums/?id=906F0000000BPxRIAW

contains a simple example, but it does rely on all VF pages have an Apex controller. If you haven't got that option you could use Google analytics, which requires you to embed some JavaScript on every page as described in this article:

https://developers.google.com/analytics/devguides/collection/analyticsjs/

Records are a bit more tricky - one option is detailed in the following blog post (not mine), but requires a VF page to be added to all custom object page layouts.

http://1771.co/track-number-of-views-on-a-salesforce-record/

but as you are adding a VF page you might consider the google analytics route again.