Type Function Return value none Revision Release 2024.3703 Keywords analytics, Google Analytics, Google Analytics v2, googleAnalytics, googleAnalytics v2, googleAnalytics, init See also googleAnalytics.logEvent() googleAnalytics.logScreenName() googleAnalytics.*
Initalizes the Google Analytics plugin. This step is mandatory before any other features or methods can be used.
googleAnalytics.init( )
local googleAnalytics = require( "plugin.googleAnalytics" ) -- Initialize Google Analytics googleAnalytics.init( )