Package org.dspace.google.client
Interface GoogleAnalyticsClient
-
- All Known Implementing Classes:
GoogleAnalyticsClientImpl
public interface GoogleAnalyticsClientClient to send events to Google Analytics.- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAnalyticsKeySupported(String analyticsKey)Check if the client supports the given analytics key.voidsendEvents(String analyticsKey, List<GoogleAnalyticsEvent> events)Send the given Google Analytics events.
-
-
-
Method Detail
-
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 keyevents- the events to be sent
-
-