Turn Portal Statistics On
  • 22 Dec 2023
  • 2 Minutes to read
  • Dark
    Light

Turn Portal Statistics On

  • Dark
    Light

Article summary

Overview 

There are many ways to track the performance and activity in a user's Decisions experience, and Client Statistics is another useful tool to do so. This feature records data about the volume of different processes running within Decisions. This covers the most important Designer Elements - Forms, Flows, and Rules, but there are additional processes that are observable listed below. Once this feature has been turned on, all of the data is recorded in a database and can be viewed via Reports.


Edit Client Statistics

The below steps go over how to activate Client Statistics. The statistics are split into two categories - Settings and Summary. 

  • Navigate to System > Settings and select the Client Statistic Settings. 
  • Check any desired SETTINGS to gather Statistics on them.
Settings NameDescription
ApiCallsAPI call
FlowRunInstance of a Flow being run
FormRunInstance of a Form being run
LoginInstance of a Login
LogoutInstance of a Logout
Navigation
PortalSessionStartedInstance of a Portal Session 
ReportRunInstance of a Report being run
RuleRunInstance of a Rule being run
  • Adjust the SUMMARY SETTINGS by clicking the desired summary types and setting the SummaryTime. After the desired settings are defined, click SAVE. 
Summary NameDescription
ApiCallsSummaryTotal number of API calls made
FlowRunSummaryTotal number of Flows run
FormRunSummaryTotal number of Form interactions
LoginSummaryTotal number of Logins
LogoutSummaryTotal number of Logouts
NavigationSummary
PortalSessionStartedSummaryTotal Portal sessions started
ReportRunSummaryTotal number of Reports Run
RuleRunSummaryTotal number of Rules Run

Viewing Client Statistics

After the settings have been activated, a user will need to create Reports to view the statistics.

Once a new Report has been created, there are two Data Sources that can be used. Statistics Data Source is used to pull information from the Settings options listed above. Statistics Summary Data Source will provide the overall summary of the actions within a time frame. Adding the Time Taken in Seconds data field to the Report is a great way to determine if Flows are performing as fast as expected.

Example of a Report using Statistics Data Source.


Troubleshooting

Using Client Statistics can cause database storage issues where too much data is stored and file sizes balloon to unmanageable levels. If this occurs, turn off the Client Statistics options and reboot. This will resolve the issue.

Other Methods Recording Client Statistics

There are four Steps that can be used in Flows to build data for the client_statistics table without turning on Portal Statistics. These Steps can be helpful for users who want targeted information about a particular designer project or have encountered the issue mentioned in the Troubleshooting section.

Step Name
Description
Record StatisticsAdds an entry to the client_statistic table.
Record Statistics for Current User StepAdds an entry to the client_statistic table and sets the Account ID and Email address to the current user.
Record Statistics With Time For Current User StepSame as above, but with an input for Time Taken.
Record Statistics With Time and Sessions StepAdds an entry to the client_statistic table but with inputs for SessionID and Time Taken.

Was this article helpful?