Package com.vaadin.copilot.analytics
Class AnalyticsClient
java.lang.Object
com.vaadin.copilot.CopilotServerClient
com.vaadin.copilot.analytics.AnalyticsClient
Client for tracking features of Copilot
-
Field Summary
Fields inherited from class com.vaadin.copilot.CopilotServerClient
SERVER_URL_ENV
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.copilot.CopilotServerClient
buildRequest, getHttpClient, getLogger, getQueryURI, getServerBaseUrl, isDevelopment, readValue, writeAsJsonString
-
Constructor Details
-
AnalyticsClient
public AnalyticsClient()Constructor loading ProKey
-
-
Method Details
-
track
Track event to copilot-server- Parameters:
event
- Event nameproperties
- Map of event properties
-
sendRequest
-