Type Function Return value none Revision 2017.3060 Keywords analytics, Google Analytics, googleAnalytics, 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( "CoronaApp1", "UA-12345678-90" ) -- Log screen name with Google Analytics googleAnalytics.logScreenName( "main menu" )