You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.copilot.analytics.

Class AnalyticsClient

java.lang.Object
com.vaadin.copilot.CopilotServerClient
com.vaadin.copilot.analytics.AnalyticsClient
public class AnalyticsClient extends CopilotServerClient

Client for tracking features of Copilot

  • Constructor Details

    • AnalyticsClient

      public AnalyticsClient()

      Constructor loading ProKey

  • Method Details

    • track

      public void track(String event, Map<String,String> properties)

      Track event to copilot-server

      Parameters:

      event - Event name

      properties - Map of event properties

    • sendRequest

      protected void sendRequest(String event, Map<String,String> properties)