Package com.boxysystems.jgoogleanalytics

Examples of com.boxysystems.jgoogleanalytics.FocusPoint


    // tracking code
    final JGoogleAnalyticsTracker tracker = new JGoogleAnalyticsTracker(
        "Aurous App", "2.2.5", "UA-53956512-1");

    final FocusPoint focusPoint = new FocusPoint("AppStart");

    tracker.trackAsynchronously(focusPoint);
    Settings.loadSettings();

  }
View Full Code Here


            });

        }
        if(trackingEnabled) {
            tracker = new JGoogleAnalyticsTracker("Leonardo","UA-17798312-2");
            mainApp = new FocusPoint("MainApp");
            tracker.setLoggingAdapter(new LoggingAdapter(){
                public void logError(String s) {
                    u.p("logging error: " + s);
                }
View Full Code Here

    }

    public static void trackEvent(String event) {
        if(trackingEnabled) {
            tracker.trackAsynchronously(new FocusPoint(event,mainApp));
        }
    }
View Full Code Here

            Main.saveSettings();
        } catch (Exception e) {
            e.printStackTrace();
        }
        if(Main.trackingEnabled) {
            Main.tracker.trackSynchronously(new FocusPoint("exit", Main.mainApp));
        }

        System.exit(0);
    }
View Full Code Here

TOP

Related Classes of com.boxysystems.jgoogleanalytics.FocusPoint

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.