ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Remark: The telemetry data is anonymous data by default. 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: on the "Project" tab, in the "Project" group, 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 network: In this case, you have the ability to specify the protocol used: HTPP or HTTPS.
        Remark: For an HTTPS protocol, a certificate must be installed on your Web server (IIS or Apache).
      • CLOUD platform. In this case, all you have to do is specify the CLOUD account to use.
        Remark: 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. The data collection is automatically enabled by default but it can be enabled through programming with 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. On the "Project" tab, in the "Project configuration" group, click "Current configuration".
  2. Select the "Telemetry" tab to configure the telemetry.
  3. Several options are available:
    Available options
    • Use the project telemetry parameters: This option allows you to use the telemetry parameters specified in the project description.
      Caution: If the telemetry is not enabled in the project, the current configuration will not use the telemetry.
    • Use specific telemetry parameters: This option is used 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 the telemetry for this configuration: This option allows you to disable the telemetry for the current configuration.
Remark: If you select "Use specific telemetry parameters", all the telemetry parameters must be defined.
Customizing the telemetry options
  1. Specify the location of telemetry server:
    • Local, network or Internet network: In this case, you have the ability to specify the protocol used: HTPP or HTTPS.
      Remark: For an HTTPS protocol, a certificate must be installed 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. The data collection is automatically enabled by default but it can be enabled through programming with 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: 06/02/2023

Send a report | Local help