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
GglAnalyticsAddEvent (Function)
In French: GglAnalyticsAjouteEvénement
Adds an event beside Google Analytics
Example
GglAnalyticsAddEvent("Video""play""product trial""pushchair")
Syntax
GglAnalyticsAddEvent(<Category> , <Action> [, <Caption> [, <Event Number> [, <Options>]]])
<Category>: Character string (with quotes)
Name of category. This parameter is used to group several events ("Video" for example).
<Action>: Character string (with quotes)
Name of action linked to the event ("play" for example).
<Caption>: Optional character string (with quotes)
Additional caption used to simplify the filing of events ("Advertising" for example).
This parameter corresponds to an empty string by default.
<Event Number>: Optional integer
Number associated with the event. This parameters corresponds to 0 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/events.
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