Interface GoogleAnalyticsClientRequestBuilder

    • Method Detail

      • getEndpointUrl

        String getEndpointUrl​(String analyticsKey)
        Returns the url of the Google Analytics endpoint.
        Parameters:
        analyticsKey - the Google Analytics key
        Returns:
        the endpoint url
      • composeRequestsBody

        List<String> composeRequestsBody​(String analyticsKey,
                                         List<GoogleAnalyticsEvent> events)
        Returns the body of the requests to be sent to Google Analytics as string, based on the given analytics key and events.
        Parameters:
        analyticsKey - the Google Analytics key
        events - the events to be sent
        Returns:
        the requests body as string