+2 votes

Hi everyone, did anyone put the analytics of gameAnalytics?

included plugin GameAnalytic for android in export

checked if (Engine.has_singleton ("GameAnalytics")):
permissions included 2:
- internet
- Access network state
and the code wrote

running on the emulator does not show that 1 user is logged in
what could be the mistake?

var GameAnalytics
func ready () {
if (Engine.has
singleton ("GameAnalytics")):
GameAnalytics = Engine.get_singleton ("GameAnalytics")
GameAnalytics.setEnabledInfoLog (true)
GameAnalytics.setEnabledVerboseLog (true)

GameAnalytics.configureBuild ("0.1.1")

GameAnalytics.configureAvailableCustomDimensions01 (["ninja", "samurai"])
GameAnalytics.configureAvailableCustomDimensions02 (["whale", "dolphin"])
GameAnalytics.configureAvailableCustomDimensions03 (["horde", "alliance"])
GameAnalytics.configureAvailableResourceCurrencies (["gold", "gems"])
GameAnalytics.configureAvailableResourceItemTypes (["boost", "lives"])

GameAnalytics.init (["key wrote"], ["secret key"])

in Engine by (23 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.