Interface GoogleAnalyticsClient

All Known Implementing Classes:
GoogleAnalyticsClientImpl

public interface GoogleAnalyticsClient
Client to send events to Google Analytics.
Author:
Luca Giamminonni (luca.giamminonni at 4science.it)
  • Method Details

    • isAnalyticsKeySupported

      boolean isAnalyticsKeySupported(String analyticsKey)
      Check if the client supports the given analytics key.
      Parameters:
      analyticsKey - the analytics key
      Returns:
      true if the key is supported, false otherwise
    • sendEvents

      void sendEvents(String analyticsKey, List<GoogleAnalyticsEvent> events)
      Send the given Google Analytics events.
      Parameters:
      analyticsKey - the analytics key
      events - the events to be sent