Package org.dspace.google.client
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 Summary
Modifier and TypeMethodDescriptionbooleanisAnalyticsKeySupported(String analyticsKey) Check if the client supports the given analytics key.voidsendEvents(String analyticsKey, List<GoogleAnalyticsEvent> events) Send the given Google Analytics events.
-
Method Details
-
isAnalyticsKeySupported
Check if the client supports the given analytics key.- Parameters:
analyticsKey- the analytics key- Returns:
- true if the key is supported, false otherwise
-
sendEvents
Send the given Google Analytics events.- Parameters:
analyticsKey- the analytics keyevents- the events to be sent
-