diff --git a/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs b/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs index e30cb3b..bf3b66f 100755 --- a/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs +++ b/source/Plugins/GoogleAnalyticsV4/GoogleAnalyticsV4.cs @@ -119,7 +119,7 @@ void Awake() { } if (UncaughtExceptionReporting) { -#if UNITY_5 || UNITY_2017 +#if UNITY_5 Application.logMessageReceived += HandleException; #else Application.RegisterLogCallback (HandleException); @@ -150,7 +150,7 @@ private void InitializeTracker() { instance = this; DontDestroyOnLoad(instance); - + // automatically set app parameters from player settings if they are left empty if(string.IsNullOrEmpty(productName)) { productName = Application.productName;