-
@Deprecated(message = Use ExposureTrackingProvider instead) public interface ExperimentAnalyticsEvent
Analytics event for tracking events generated from the experiment SDK client. These events are sent to the implementation provided by an ExperimentAnalyticsProvider.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetName()The name of the event. abstract Map<String, String>getProperties()Properties for the analytics event. abstract Map<String, Object>getUserProperties()User properties to identify with the user prior to sending the event. abstract ExperimentUsergetUser()The user exposed to the flag/experiment variant. abstract StringgetKey()The key of the flag/experiment that the user has been exposed to. abstract VariantgetVariant()The variant of the flag/experiment that the user has been exposed to. abstract StringgetUserProperty()The user property for the flag/experiment (auto-generated from the key) -
-
Method Detail
-
getName
abstract String getName()
The name of the event. Should be passed as the event tracking name to the analytics implementation provided by the ExperimentAnalyticsProvider.
-
getProperties
abstract Map<String, String> getProperties()
Properties for the analytics event. Should be passed as the event properties to the analytics implementation provided by the ExperimentAnalyticsProvider.
-
getUserProperties
abstract Map<String, Object> getUserProperties()
User properties to identify with the user prior to sending the event.
-
getUser
abstract ExperimentUser getUser()
The user exposed to the flag/experiment variant.
-
getVariant
abstract Variant getVariant()
The variant of the flag/experiment that the user has been exposed to.
-
getUserProperty
abstract String getUserProperty()
The user property for the flag/experiment (auto-generated from the key)
-
-
-
-