Examples of AnalyticsOptions


Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        this.serverOptionsCallbackProvider = serverOptionsCallbackProvider;
    }

    @Override
    public CreateOptions create(final String userAccount) {
        return new AnalyticsOptions(new TrackerNameOptionsCallback() {

            @Override
            public void onCallback(final String trackerName) {
                trackerNames.put(trackerName, userAccount);
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

            return sendTiming(trackerName, timingCategory, timingVariableName,
                    (int) (System.currentTimeMillis() - timingEvents.remove(key)));
        }

        logger.severe("Timing Event Ended before it was started: " + key);
        return new AnalyticsOptions(new TrackerNameOptionsCallback() {

            @Override
            public void onCallback(final String trackerName) {
                //Do nothing a timing event was ended before it was started.  This is here just to stop a crash.
            }
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        if (trackerName != null) {
            options.putText("tid", trackerNames.get(trackerName));
        }
        options.putText("hitType", hitType.getFieldName());

        return new AnalyticsOptions(options);
    }
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        return new AnalyticsOptions(options);
    }

    @Override
    public GeneralOptions setGlobalSettings() {
        return new AnalyticsOptions(new TrackerNameOptionsCallback() {

            @Override
            public void onCallback(final String trackerName) {
                //Do nothing, this call is not valid on the server.
            }
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        nativeCall(aryParams.getJavaScriptObject());
    }

    @Override
    public CreateOptions create(final String userAccount) {
        return new AnalyticsOptions(new JSONOptionsCallback() {

            @Override
            public void onCallback(final JSONObject options) {
                call(new JSONString("create"), new JSONString(userAccount), options);
                setGlobalSettings().forceSsl(true).go();
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        final String key = getTimingKey(timingCategory, timingVariableName);
        if (timingEvents.containsKey(key)) {
            return sendTiming(trackerName, timingCategory, timingVariableName,
                    (int) (Duration.currentTimeMillis() - timingEvents.remove(key)));
        }
        return new AnalyticsOptions(new JSONOptionsCallback() {

            @Override
            public void onCallback(final JSONObject options) {
                //Do nothing a timing event was ended before it was started.  This is here just to stop a crash.
            }
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        $wnd.__ua.apply(null, params);
    }-*/;

    @Override
    public AnalyticsOptions send(final String trackerName, final HitType hitType) {
        return new AnalyticsOptions(new JSONOptionsCallback() {

            @Override
            public void onCallback(final JSONObject options) {
                call(new JSONString(trackerName == null ? "send" : trackerName + ".send"),
                        new JSONString(hitType.getFieldName()), options);
View Full Code Here

Examples of com.arcbees.analytics.shared.options.AnalyticsOptions

        });
    }

    @Override
    public GeneralOptions setGlobalSettings() {
        return new AnalyticsOptions(new JSONOptionsCallback() {

            @Override
            public void onCallback(final JSONObject options) {
                call(new JSONString("set"), options);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.