コード例 #1
0
        private static void InitializeTracker()
        {
            if (!initialized)
            {
                initialized = true;

                mpTracker = new GoogleAnalyticsMPV3();
                mpTracker.SetTrackingCode(TRACKING_ID);
                mpTracker.SetAppName("8iUnityPlugin");
                mpTracker.SetAppVersion(HVR.VersionInfo.GIT_BRANCH);
                mpTracker.SetBundleIdentifier("");
                mpTracker.SetAnonymizeIP(true);
                mpTracker.InitializeTracker();
            }
        }