Open Marcus5234 opened 5 years ago
Running into this too. I've tried a few things with no success:
//GoogleAnalyticsV4.getInstance().StartCoroutine(this.HandleWWW(new WWW(newUrl)));
GoogleAnalyticsV4.getInstance().StartCoroutine(GetRequest(newUrl));
And added this very generic handler to the class as well:
IEnumerator GetRequest(string uri)
{
UnityWebRequest uwr = UnityWebRequest.Get(uri);
yield return uwr.Send();
if (uwr.isError)
{
Debug.Log("Error While Sending: " + uwr.error);
}
else
{
Debug.Log("Received: " + uwr.downloadHandler.text);
}
}
Using this method to fire off the requests, I am still seeing no activity in google analytics.
^ All of the above scenarios were attempted from within the Unity Editor
I though GoogleAnalyticsV4 was obsolete and now using the Firebase.Analytics.FirebaseAnalytics.LogEvent(category, label, value);
??
I removed all my previous GoogleAnalyticsV4 integration since the Analytic interface for to Firebase if you log a new iOS/Android app...
I followed these instructions, I'm trying to make GAv4 work in the editor, but I don't get any data in the real time overview. However, in the unity console it says "Successfully sent Goggle Analytics hit". I did put the tracking on all fields, "Android Tracking Code", "IOS Tracking Code" and "Other Tracking Code". Please help!