ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Telemetry functions
  • Overview
  • Enabling the telemetry
  • Enabling the telemetry in the project description
  • Enabling the telemetry in the description of a configuration
  • Installing the application
  • Installing an application that support the telemetry
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
To use the telemetry in a WINDEV or WINDEV Mobile application, you must:
  1. Enable the telemetry in the application. This activation can be done:
    • in the project description. In this case, this activation is performed for all the existing project configurations.
    • in the platform description.
  2. Deploy the application:
    • Install the application.
Note: By default, telemetry data is anonymous. You have the ability to identify the user by using TelemetryIdentifyUser.
Enabling the telemetry
The telemetry can be enabled:
  • in the project description. In this case, this activation is performed for all the existing project configurations.
  • in the platform description.

Enabling the telemetry in the project description

To enable the telemetry in the project description:
  1. Open the project description window. To do so, go to the "Project" tab, "Project" group, and click "Description".
  2. In the window that is displayed, select the "Telemetry" tab.
  3. Check "Enable the telemetry for the project" and specify the requested parameters:
    Project description,
    • Server location:
      • Local, network or Internet server: In this case, you can specify the protocol used: HTPP or HTTPS..
        Note: For HTTPS protocol, you need to install a certificate on your Web server (IIS or Apache).
      • CLOUD platform. In this case, all you have to do is specify the CLOUD account to use.
        Note: A telemetry platform is required.
    • Address:
      • Address of server or address of PCCloud platform.
      • Username and associated password. This data was given at the end of setup of telemetry server.
      Check the connection to the telemetry server to make sure that the data is correct.
    • Telemetry of application:
      • Application name. This name will be proposed in the telemetry dashboard.
      • The mode for triggering the collection of information. By default, data collection is enabled automatically, but it can be enabled programmatically using TelemetryEnable.
  4. Validate.
These parameters are defined for the current project and for all its configurations. The telemetry can be customized or disabled for each project configuration.

Enabling the telemetry in the description of a configuration

To configure the telemetry for the current configuration:
  1. In the "Project Explorer" pane, display the context menu for the "Configurations" option and select "Description".
  2. Select the "Telemetry" tab to configure the telemetry.
  3. Several options are available:
    Available options
    • Use project telemetry parameters: This option lets you use the telemetry parameters specified in the project description..
      Warning: If telemetry is not enabled in the project, the current configuration will not use telemetry..
    • Use specific telemetry parameters: This option allows you to define specific telemetry parameters for the current configuration.. You can for example disable the telemetry on the project and enable it on a configuration only. You also have the ability to use specific parameters for a type of configuration (for example, the Windows and mobile configurations do not use the same server).
    • Disable telemetry for this configuration: This option allows you not to use telemetry for the current configuration..
Note: If you select the "Use specific telemetry parameters" option, it is necessary to define all telemetry parameters..
Customizing the telemetry options
  1. Specify the location of telemetry server:
    • Local, network or Internet server: In this case, you can specify the protocol used: HTPP or HTTPS..
      Note: For HTTPS protocol, you need to install a certificate on your Web server (IIS or Apache).
    • CLOUD platform. In this case, all you have to do is specify the CLOUD account to use.
  2. Specify the address of the telemetry server to use:
  3. Check the connection to the telemetry server to make sure that the data is correct.
  4. The option "Telemetry of the application" is used to configure:
    • The application name. This name will be proposed in the telemetry dashboard.
    • The mode for triggering the collection of information. By default, data collection is enabled automatically, but it can be enabled programmatically using TelemetryEnable.
Installing the application
WINDEV Mobile

Installing an application that support the telemetry

The procedure for creating the setup of an application that supports the telemetry is identical to the procedure for creating a standard setup.
The telemetry is automatically enabled when starting the application (or via TelemetryEnable).
The telemetry data is sent whenever possible:
  • when starting the application,
  • when closing the application,
  • every hour,
  • when moving to the background.
Remarks:
  • In order for the telemetry data to be sent, a connection to the telemetry server is required.
  • Using the telemetry in the mobile application does not consume a lot of data.
  • The frequency for collecting information can be defined by TelemetryConfigure. Indeed, the default frequency of one hour can be reduced in a mobile application (a mobile application is often used for less than 1 hour and the collection frequency can be reduced to 5 minutes, for example).
  • Windows service-specific events do not collect data for telemetry and cannot use telemetry functions.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help