Package com.arcbees.analytics.server.options

Examples of com.arcbees.analytics.server.options.ServerOptionsCallback


        }).timingOptions(timingCategory, timingVariableName, 0);
    }

    @Override
    public AnalyticsOptions send(final String trackerName, final HitType hitType) {
        final ServerOptionsCallback options = serverOptionsCallbackProvider.get();
        if (trackerName != null) {
            options.putText("tid", trackerNames.get(trackerName));
        }
        options.putText("hitType", hitType.getFieldName());

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


        chain.doFilter(request, response);
    }

    @Override
    public ServerOptionsCallback get() {
        final ServerOptionsCallback result = new ServerOptionsCallback();
        result.putText("v", ANALYTICS_VERSION + "");
        result.putText("tid", userAccount);
        final String[] split = ((String) requestProvider.get().getAttribute(COOKIE_VALUE_KEY)).split("\\.");
        result.putText("cid", split[2] + "." + split[3]);
        return result;
    }
View Full Code Here

TOP

Related Classes of com.arcbees.analytics.server.options.ServerOptionsCallback

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.