PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
GglAnalyticsAddTiming (Function)
In French: GglAnalyticsAjouteDurée
Adds a duration beside Google Analytics.
Example
GglAnalyticsAddTiming("3d js dependencies""load", dDuration..InMilliseconds)
Syntax
GglAnalyticsAddTiming(<Category> , <Action> , <Duration> [, <Caption> [, <Options>]])
<Category>: Character string (with quotes)
Name of category. Used to group several different actions ("Javascript action" for example).
<Action>: Character string (with quotes)
Name of action to identify ("page load" for example).
<Duration>: Integer ou Duration
Duration of the action (in milliseconds) that will be sent to Google Analytics. This parameter can correspond to:
  • an integer corresponding to the number of milliseconds,
  • a Duration variable,
  • Versions 23 and later
    the direct indication of duration (1 s or 10 ms for example).
    New in version 23
    the direct indication of duration (1 s or 10 ms for example).
    the direct indication of duration (1 s or 10 ms for example).
<Caption>: Optional character string (with quotes)
Additional caption used to simplify the filing in the Google Analytics reports ("Google CDN" for example).
This parameter corresponds to an empty string by default.
<Options>: Optional variant
Additional options dependent on Google Analytics. To find out the possible values, see the Google Analytics documentation https://developers.google.com/analytics/devguides/collection/analyticsjs/user-timings.
This parameter corresponds to Null by default.
Remarks
To use this function, you must own and save a Google Analytics identifier in the project. See WEBDEV and Google Analytics for more details.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 22
Comments
Click [Add] to post a comment