+ Start a Discussion
MONICA JARAMILLO FUENTESMONICA JARAMILLO FUENTES 

How can I obtain the number of times, my users enter o use my Visualforce an Apex classes?

Hi, 

Is there any tool that can help me to get the use of my developments with Visualforce pages an apex classes? So I can get the track of how much the users use the developments, could you help me please? , thank you. 

Regards, 
Mónica Jaramillo
Alain CabonAlain Cabon
Hi,

Have you tried the Salesforce Event Log File Browser?:   https://salesforce-elf.herokuapp.com/

https://trailhead.salesforce.com/en/event_monitoring/event_monitoring_download?id=event_monitoring

You can get the Visualforce Requests (CSV files)

Regards

Alain
MONICA JARAMILLO FUENTESMONICA JARAMILLO FUENTES
Hi Alain, 

Yes I have tried it, but the Event Log File Browser only give me information about my log in, but not for my develompents. 

Do you know if there's another way to get the information?

Thank you. 

Regards,

Mónica Jaramillo
Alain CabonAlain Cabon
Hi,

In fact, the real standard Salesforce solution is the Event Log File but it is a ... paid feature. By default, you have the restrained version of the Event Monitoring.

For Production org (Enterprise, Unlimited, and Performance Edition), you need to purchase User Event Monitoring to get this feature fully activated, otherwise you will have free access to the login and logout log files with one-day data retention only. Once purchase, you can access all log file types with 30-day data retention.

Developer Edition (DE) organizations have free access to all log types with one-day data retention.
So, it is good idea to integrate this data to your back-end database for further analysis. Once it enabled, you will see object called EventLogFile from API.

http://www.simplysfdc.com/2014/10/salesforce-event-log-files.html

https://developer.salesforce.com/docs/atlas.en-us.204.0.api.meta/api/sforce_api_objects_eventlogfile.htm

As Salesforce is a Cloud application, you cannot access the HTTP server log files and just filter the URL requests containing /apex/<your VF> 

The last option is your own log object (Log__c) and some apex code in the controller/extension of your VF (probably some apps on apexchange exist yet).

Regards,

Alain