ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Google Analytics functions
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
GglAnalyticsAddPage (Function)
In french: GglAnalyticsAjoutePage
Adds a page beside Google Analytics.
Example
GglAnalyticsAddPage("/domain.com/pricing.shtml")
Syntax
GglAnalyticsAddPage([<Page path> [, <Options>]])
<Page path>: Optional character string
Section of page address representing the path. This value must start with a slash character (/).
By default, this parameter corresponds to the path of current page.
<Options>: Optional variant
Additional options dependent on Google Analytics. For more details on the possible values, se the Google Analytics documentation at https://developers.google.com/analytics/devguides/collection/analyticsjs/pages.
This parameter is set to Null by default.
Remarks
  • To use this function, you must have and save a Google Analytics identifier in the project. For more details, see WEBDEV and Google Analytics.
  • The current page is automatically added (when including analytics.js).
  • Remark: As of July 1, 2023, Google Analytics is moving from Universal Analytics to Google Analytics 4. WEBDEV 28 manages both versions. The WLanguage functions have been adapted. By Default, for existing projects, the managed mode is Universal Analytics and for new projects, the managed mode is Google Analytics 4. For more details, see WEBDEV and Google Analytics.
Component: WDJS.DLL
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment

Last update: 01/27/2023

Send a report | Local help