Accessing Metrics for Your Visualforce Pages
To query metrics on the Visualforce pages in your org, use the VisualforceAccessMetrics object in the Salesforce SOAP API.
Make a SOQL query in Workbench to get information from the VisualforceAccessMetrics object. This is a sample SOQL call.
SELECT ApexPageId,DailyPageViewCount,Id,MetricsDate FROM VisualforceAccessMetrics
Each VisualforceAccessMetrics object tracks the daily page view count in the DailyPageViewCount field. The date the metrics were collected is specified in MetricsDate, and the ID of the tracked Visualforce page is specified in ApexPageId. Page views are tallied the day after the page is viewed, and each VisualforceAccessMetrics object is removed after 90 days.
No comments:
Post a Comment