Show/Hide Toolbars

Licence Protector 5

Navigation: Send usage metrics

Implement metrics on custom events

Scroll Prev Top Next More

You can send metrics on custom events like

 

every time a menu item is invoked, e.g. to analyze how often the menu help is used

every time a document is opened

every time a special workflow is triggered

every time an error occurs

 

 

Name

SendIntMetric                                                                                          

Params

Parameter

Type

Example

Note

ProjectName

String

easygo

If empty, project name from the template is used

ModuleID

String

QHD001

Unique ModuleID. Can be empty. Reporting not yet available on module level

MetricName

String

Menu: Help

The value you want to trace

Section

String

My App

This value can be used to group the result. Reporting not yet available for this feature

MetricValue

Integer

1

 

Returncode

Returncode

Type Integer

Note

0

 

A date

 

Transaction Count

Counts as 1 transaction on the Activation Server 6

See also

SetSignalState, GetSignalState

 

 

Example

SendIntMetric('', '', 'Menu: Help', 'My APP', 1);

SendIntMetric('', '', 'Error: SQL Connection failed', 'Core1.DLL', 1);

 

Your can turn on / off the usage metric with SetSignalState