PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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.
Component : WDJS.DLL
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment