You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using GA plugin in my WebGL game and discovered that sessions and events do not count correctly. After some research I located to the problem place.
I'm using GA plugin in my WebGL game and discovered that sessions and events do not count correctly. After some research I located to the problem place.
Measurement protocol required
cid
parameter in url. Currently in https://github.com/googleanalytics/google-analytics-plugin-for-unity/blob/master/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsMPV3.cs#L62 it's defined asclientId = SystemInfo.deviceUniqueIdentifier
. But in webgl builds SystemInfo.deviceUniqueIdentifier always equals "n / a".I fixed it by creating a random guid for clientId class member.
#if UNITY_WEBGL
#else
#endif
The text was updated successfully, but these errors were encountered: