Type Function Return value none Revision Release 2024.3703 Keywords analytics, Google Analytics, Google Analytics v2, googleAnalytics, googleAnalytics v2, logScreenName See also googleAnalytics.init() googleAnalytics.logEvent() googleAnalytics.*
Logs the screen name with Google Analytics.
googleAnalytics.logScreenName( screenName )
String. The screen/scene name to log, for example "main_menu"
.
local googleAnalytics = require( "plugin.googleAnalytics" ) -- Initialize Google Analytics googleAnalytics.init( ) -- Log screen name with Google Analytics googleAnalytics.logScreenName( "main_menu" )