I don't understand how to use Game Analytics plugin

0 favourites
  • 10 posts
From the Asset Store
Google Analytics 4 Plugin for Construct 3 enables metrics and analytics for your games easily.
  • I'm trying to start using Game Analytics, but it's not working.

    I tried with my app (Google Play internal test channel) and on PC, previewing the project. (I disabled worker mode, but it still doesn't work).

    There's nothing at all on my game analytics page.

    In the events I only put -> on start of layout -> initialize GA SDK.

    I don't understand how this plugin works. please help.

    Or is there another simpler way to acquire some data from players? Without using plug-ins?

  • GA may not work in preview. On mobile it should be working if you built the game correctly.

    In GA go to Realtime -> Live events. You should be able to see the messaged from your phone. If there are none, this means the plugin is not working. It's either not configured correctly (check the keys etc.), or the app was not built correctly.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • GA may not work in preview. On mobile it should be working if you built the game correctly.

    In GA go to Realtime -> Live events. You should be able to see the messaged from your phone. If there are none, this means the plugin is not working. It's either not configured correctly (check the keys etc.), or the app was not built correctly.

    What do you mean by "it's not configured/built correctly"?

    Can you tell me what the possible causes are?

    Something about Play Console? Or what about exporting the project?

    In my project I put only one action that concerns Game Analytics (on start of layout --> Initialize GA SDK).

    On the Game Analytics site I specified that my game is Construct and Android.

    this time I'm updating my public game (not internal testing) to check if that was the problem. Perhaps Game Analytics, in addition to not working on PC preview, doesn't even work in the internal test.

    Or what could be the problem?

  • I haven't used it for several years and don't remember all the details. But at the very least you need to enter the Game Key and Secret Key in plugin properties. And I think the app id of the project should match Bundle ID in GA.

    Perhaps Game Analytics, in addition to not working on PC preview, doesn't even work in the internal test.

    No, it should work in internal test. It should even work if you make a debug APK and upload it directly to your phone.

    If you are sure that everything is configured properly and GA still doesn't work, you can try getting Logcat logs from your phone. If there is something wrong with GS, there will be an error message in the log.

  • I haven't used it for several years and don't remember all the details. But at the very least you need to enter the Game Key and Secret Key in plugin properties. And I think the app id of the project should match Bundle ID in GA.

    > Perhaps Game Analytics, in addition to not working on PC preview, doesn't even work in the internal test.

    No, it should work in internal test. It should even work if you make a debug APK and upload it directly to your phone.

    If you are sure that everything is configured properly and GA still doesn't work, you can try getting Logcat logs from your phone. If there is something wrong with GS, there will be an error message in the log.

    Before trying this logcat thing I would like to make sure I haven't forgotten anything.

    I had already entered the game key and secret key, but not the bundle ID because I had read optional on Game Analytics, however now I'm updating the internal test app to try again.

    It should even work if you debug APK and upload it directly to your phone.

    Is remote preview and scanning with QR code the same thing? I use this feature often. Should it work this way? (so I avoid updating the internal test every time).

  • Is remote preview and scanning with QR code the same thing? I use this feature often. Should it work this way? (so I avoid updating the internal test every time).

    I don't know if it will work with remote preview. But for remote preview you will need to configure browser game and secret keys.

    With remote preview you can set up remote debugging:

    developer.chrome.com/docs/devtools/remote-debugging

    Then you will be able to check for errors in browser console log.

  • > Is remote preview and scanning with QR code the same thing? I use this feature often. Should it work this way? (so I avoid updating the internal test every time).

    I don't know if it will work with remote preview. But for remote preview you will need to configure browser game and secret keys.

    With remote preview you can set up remote debugging:

    https://developer.chrome.com/docs/devtools/remote-debugging

    Then you will be able to check for errors in browser console log.

    It still doesn't work even though I checked everything.

    So now I try with logcat and remote debugging...

    Thanks for the advices and links...

  • But... isn't there another way? Simply with the basic construct3 plugins? Like Ajax/Browser?

    I just need a few informations from players, like for all players who installed the app how many reach the final level.

    Isn't there a way to get the report to another my app or directly to my computer?

  • isn't there another way? Simply with the basic construct3 plugins? Like Ajax/Browser?

    You will need a server. Or use some service like Firebase, but it won't be much easier than GA.

    I suggest checking Logcat, maybe there's some silly mistake which is easy to fix.

  • Ok now something works.

    I had created two sessions on GA, and in the last few hours I watched the wrong one.

    It started working when I entered the bundle ID, and updated the app.

    I thought it wasn't necessary because I read (optional) about GA, but it was.

    Thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)