Package nz.org.winters.appspot.acrareporter.server.jgoogleanalytics

Examples of nz.org.winters.appspot.acrareporter.server.jgoogleanalytics.JGoogleAnalyticsTracker


    if (Configuration.gaTrackingID != null && SystemProperty.environment.value() == SystemProperty.Environment.Value.Production)
    {
      // The app is running on App Engine...
      FocusPoint focusApp = new FocusPoint("Admin");
      FocusPoint focusPoint = new FocusPoint("UserAdded", focusApp);
      JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", Configuration.gaTrackingID);
      tracker.trackSynchronously(focusPoint);
    }
  }
View Full Code Here


    if (Configuration.gaTrackingID != null && SystemProperty.environment.value() == SystemProperty.Environment.Value.Production)
    {
      // The app is running on App Engine...
      FocusPoint focusApp = new FocusPoint("Admin");
      FocusPoint focusPoint = new FocusPoint("UserAdded", focusApp);
      JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", Configuration.gaTrackingID);
      tracker.trackSynchronously(focusPoint);
    }

  }
View Full Code Here

        FocusPoint focusApp = new FocusPoint(apppackage);
        FocusPoint focusPoint = new FocusPoint("MappingAdded", focusApp);
        FocusPoint focusVer = new FocusPoint(version, focusPoint);
        if (!Utils.isEmpty(appUser.AnalyticsTrackingId))
        {
          JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", appUser.AnalyticsTrackingId);
          tracker.trackSynchronously(focusVer);
        }
        if(Configuration.gaTrackingID != null)
        {
          JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", Configuration.gaTrackingID);
          tracker.trackSynchronously(focusVer);
        }
      }
      response.getWriter().println("OK");

    } catch (OverQuotaException e)
View Full Code Here

        FocusPoint focusApp = new FocusPoint(apppackage);
        FocusPoint focusPoint = new FocusPoint("MappingAdded", focusApp);
        FocusPoint focusVer = new FocusPoint(version, focusPoint);
        if (!Utils.isEmpty(appUser.AnalyticsTrackingId))
        {
          JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", appUser.AnalyticsTrackingId);
          tracker.trackSynchronously(focusVer);
        }
        if (Configuration.gaTrackingID != null)
        {
          JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", Configuration.gaTrackingID);
          tracker.trackSynchronously(focusVer);
        }
      }

      response.getWriter().println("OK");
View Full Code Here

          FocusPoint focusApp = new FocusPoint(basicInfo.PACKAGE_NAME);
          FocusPoint focusPoint = new FocusPoint("ErrorReport", focusApp);
          FocusPoint focusVer = new FocusPoint(basicInfo.APP_VERSION_NAME, focusPoint);
          if (!Utils.isEmpty(appUser.AnalyticsTrackingId))
          {
            JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", appUser.AnalyticsTrackingId);
            tracker.trackSynchronously(focusVer);
          }
          if (Configuration.gaTrackingID != null)
          {
            JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker("ACRA Reporter", "0.1", Configuration.gaTrackingID);
            tracker.trackSynchronously(focusVer);
          }
        }
       

      //  System.out.println("OK " + acraLog.REPORT_ID);
View Full Code Here

TOP

Related Classes of nz.org.winters.appspot.acrareporter.server.jgoogleanalytics.JGoogleAnalyticsTracker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.