Interface AnalyticsProvider

All Known Implementing Classes:
GoogleAnalytics4Provider

public interface AnalyticsProvider
Interface for analytics providers.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    sendEvent(String eventName, String... params)
    Publish an event without specifying a date.
    default void
    sendEvent(String eventName, Date date, String... params)
    Publish an event with additional parameters expressed as a sequence of keys and values.
    void
    sendEvent(String eventName, Date date, Map<String,String> params)
    Publish an event.
  • Method Details

    • sendEvent

      void sendEvent(String eventName, Date date, Map<String,String> params)
      Publish an event.
      Parameters:
      eventName - a name for the event
      date - an exact moment when the event occurred
      params - additional parameters for the event
    • sendEvent

      default void sendEvent(String eventName, Date date, String... params)
      Publish an event with additional parameters expressed as a sequence of keys and values.
      See Also:
    • sendEvent

      default void sendEvent(String eventName, String... params)
      Publish an event without specifying a date.
      See Also: