Google Analytics stopped working out of the blue

Hi there! My Google Analytics stopped working for no apparent reason… it was showing data coming through ok, and then in the last few days its not showing anything. It’s been literally 3 or 4 days straight that I’m doing nothing but trying to find the answer to this…

Just to confirm I’ve followed the instructions from the Firebase integration page and the code in GDevelop matches the one in Firebase.

  • The Firebase Configuration String copy => pasted to GDev and added “” around the names, so apiKey becomes “apiKey”.
  • Firebase integrated with Google Analytics and showing Enabled, and connected with the right GA property (see below)
  • in GA I can also see its connected to Firebase so all seems fine here…

Any obvious suspects I should check? I feel I’ve tried everything…

I did notice that the firebase string seems to have changed recently? when I copied / pasted in the last few days it seems to have new line called storageBucket (I think that’s the new one…)? The previous string didn’t have it I believe, and it was working fine. Or maybe I’m imagining it.

Below also is my logic set up to activate firebase and fire a test event.
Fire_Base.AuthorisResult returns “ok”.

In the last couple of days there was 1 player / 1 view in GDev Analytics which I assume its me, but its also incorrect because I’ve played the game more than once on the link, not preview. Also today it’s not showing anything again.

1 Like

Hey @sunbathingecko did you manage to solve this?

1 Like

Hey @Digitalstickmans , thanks, really appreciate following up.

Yes it did start working eventually, although I didn’t change much - I reconnected Firebase to another GA property, waited a day and then it started pulling in.

Now just investigating why my main event is not being passed on to GA, but at least the “test” event that I mentioned above is working and can see it in GA, so something is working.

thanks again!

1 Like

Hey @Digitalstickmans !

I’m back to the drawing board unfortunately as it stopped working again and I have no idea why. So frustrating as it was already working well.

This is the error I get for “Authenticate Anonymously” action

image

Essentially:

  • My Firebase is connected to GA and I’ve verified the Firebase Project ID and GA Property ID - both match up in Firebase and GA and under the settings of both platforms they see each other.
  • I’ve copied the Firebase SDK and pasted in GDevelop in Properties => Firebase section, and added " " around the names of the parameters, as per below.

Below is my logic.
Anyone knows how I fix this? I want the Events (here a test one called “GameStart” I set up in GDevelop to show up in Google Analytics?

(I’ve tried with Trigger Once, as you can see in the image, and without it - doesn’t work either way)

1 Like

Hmm this sucks, unfortunately I’m still experimenting with Firebase so I can’t really assist. Hopefully someone will be able to help you, it’s annoying, especially when you can’t find anything online than can help.

Since you said that it was working before, does Firebase Analytics have a limit? Maybe you hit it without realizing?
Are you using firebase to store your player’s data as well? Maybe see if it’s saving the data properly before checking if the analytics section is working.

1 Like

Thanks bud, totally understand. Hopefully someone will get back with a solution.

Yes I think there are limits to what Firebase or GA can process but I don’t think I hit them - its mainly around how many different events you can send and I think it’s 500, I’m sending like 5 different ones so should be ok.

Yes need to investigate the player data - however since GA populates any event with their own predefined parameters, it should be detecting the session anyway (I think), and if the player data is sent wrongly, it should just ignore it and just show the default parameters data. But it’s not even detecting the player now, which was the easiest to achieve before…

ehhh, any other GDevelop experts here who can help?

thanks agian @Digitalstickmans