Firebase: Event Property Data not shown in Firebase - firebase

I am sending some custom properties to firebase when I trigger an event but they do not appear in Firebase.
I have enabled the debug view and the data does arrive perfectly fine in the debug stream.
Debug View: http://imgur.com/a/DRLG5
Analytics: http://imgur.com/a/IyJbL
Am I missing something?

I had exactly the same problem but after a few days, my custom parameters now have values. It's so strange but after 4 days, all the custom parameters suddenly have values and everything works just fine!

Related

Cloud Logging API not showing JSON Payload

I am are using cloud logging APIs to publish stackdriver logs. I'm using an enhancer to convert a textpayload to jsonPayload. I don't see any errors while I convert the payload. However, I do not see any data in jsonPayload on the console.
I tested with textPayload and it works perfectly fine, Is there something clearly obvious that I might be missing.
UPDATE: I got the jsonpayload to log but now, I see that only the values which are null are being logged. Non null values are not logged
Documentation on how to log structured logs to cloud logging can be found here: https://cloud.google.com/logging/docs/structured-logging
It sounds like your JSON is likely to be invalid if values are ignored and nulls are accepted. Perhaps quotes around text are missing?
I'd suggest you output your logs to console or a file and manually inspect the format.

Custom event tracking doesn't send event

I'm trying to get custom event tracking to work on my website.
My problem is: The custom GA tracking is not being send. I cannot see it in GA or in my network tab. Also there is no error in the developer console.
How can I debug / fix the problem?
What I have tried to solve the problem:
We use GTM to implement GA. GA works fine.
I have created a function to get triggered when a event occurs. I have tested the function - it fires properly when the event is being triggered.
The the ga 'send' command uses functions to dynamically generate the right tracking. I have tested the functions individually inside a console.log >> they work fine.
I have tested that the 'ga' command is available. It is not being rejected by the console with an error message like 'unknown'. So the command is available. It just doesn't work properly >> no error message at all.
Technical Background:
We use WordPress 5.0.2 to run our website.
I have tested it locally (WAMP) and on our staging environment.
The function:
function stepTracking() {
ga('send', 'event', eventLabel(), eventAction, eventCategory());
}
My goal is to A. Understand why the command is not working and B. Send the tracking properly.
Thank you guys,
Max
It looks like you are using a GA event as opposed to a GTM event. Try the dataLayer.push mechanism.

AB testing config applied but firebase console show 0 users

I've configured firebase ab-testing. Everything works fine except there is no impact user on console.
Actually, I can see UI and log show ab-testing is applied.
Moreover, by checking the other StackoverFlow topic, activateFetched also invoked after fetch successfully.
Moreover, I've referenced
Firebase Remote Config A/B testing shows no results after 24 hours
Firebase Remote Config results on initial request
Remote Config A/B Test does not provide results on iOS
But those are no work on my case.
Is there anything miss or any other need to check so that client can response AB testing result to firebase console.
Thanks for your help first.
Code snippet:
[FIRApp configure];
FIRRemoteConfigSettings* configSettings = [[remoteConfig configSettings] initWithDeveloperModeEnabled:YES];
[[FIRRemoteConfig remoteConfig] setConfigSettings:configSettings];
[[FIRRemoteConfig remoteConfig] fetchWithExpirationDuration:duration completionHandler:^(FIRRemoteConfigFetchStatus status, NSError *error) {
if (status == FIRRemoteConfigFetchStatusSuccess) {
BOOL configFound = [[FIRRemoteConfig remoteConfig] activateFetched];
A couple things to check or take note of:
Make sure you're using and have deployed the latest Remote Config SDK. Earlier versions don't work with A/B test experiments.
Be sure to verify your experiment on a test device by following the documentation here
It can take a couple days for data to come in for your experiment.
Please call the functions in the following order:
fetch()
Call activatefetched() in the completion handler of fetch().
Fire activation event. If you need to call activation event immediately after activatefetched(), add a time delay of a few seconds. This is because activatefetched() process asynchronously and hence the function may not execute completely, before the activation event is fired.
Once done, test a running experiment on test device. In the debug logs search with string "exp_X" where 'X' is the experiment Id. You will find the experiment Id in the URL of the experiment. If you find the experiment ID in the debug logs while executing the code on test device, it means the device was covered in experiment.
Also if the experiment setup is correct, the running experiment will show 1 active experiment user in the console.

Firebase create new audience not responding

Hello I am creating a new Audience in Firebase console for a game (already released on store with roughly 17k DAU). However, the tool keep becoming not responding. I checked it seems to be a problem with Firebase's JS. More details below:
Error in Chrome developer debug:
[Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Screenshot: Firebase Javascript error
I tried changing the date range to 7 days, yesterday, today. Same error.
Is there a way to workaround this issue? Thank you

IcCube - How to retrieve full error messages for failed Google Analytics Api Calls

When you hit the "Refresh Datatable" Button for a misconfigured datatable inside the Google Analytics Plugin the command fails with the message:
Failed to load columns for table 'My Table' due to following error: 'Google Analytics Error'
This is not very descriptive.
So, how to get the fully qualified error-message which comes from the Google Analytics API?
Is there a way inside the icCube to log the error message which comes from the Google-API?
I tried to set all log-levels to DEBUG, but it did not help.
Alternatively, does Google log these errors, so that I can view them anywhere at the developer console?
It's an error on the current icCube version, will be fixed in 6.0 RC2.
Issue 254
When you refresh the Datatable, the API-Call analytics.data.ga.get is triggered.
So you can simulate this call inside the Google APIs Explorer.
Here you just need to put in the metrics and dimensions, like you did in the IcCube IDE.
How to get the profile Id is explained here.
After hitting the Execute-Button you can now see the full error-message.
A common error is to ask for more dimensions or metrics than allowed (max. 10 metric, 7 dimensions).
Of course it would be much more convenient, if the icCube Plugin would read the error-message and print it inside the IDE or the log...

Resources