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
GglAnalyticsAddSocialNetworkAction (Function)
In French: GglAnalyticsAjouteRéseauSocial
Adds a social network action beside Google Analytics.
Example
GglAnalyticsAddSocialNetworkAction("Facebook""like""http://mysite.com")
Syntax
GglAnalyticsAddSocialNetworkAction(<Social Network> , <Action> , <Target> [, <Other>])
<Social Network>: Character string (with quotes)
Name of the social network for which the action will be added (for example: Facebook, Twitter, ...).
<Action>: Character string (with quotes)
Type of action to add (Like, Send, Tweet, ...).
<Target>: Character string (with quotes)
Target of the action on the social network. This parameter can be the address of a Web site or any other character string.
<Other>: Optional variant
Additional options dependent on the social network. To find out the possible values, see the Google Analytics documentation (https://developers.google.com/analytics/devguides/collection/analyticsjs/social-interactions)
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