-
- All Implemented Interfaces:
-
com.amplitude.experiment.analytics.ExperimentAnalyticsProvider
@Deprecated(message = Update your version of the amplitude analytics SDK to 2.36.0+ and for seamless integration with the amplitude analytics SDK) public final class AmplitudeAnalyticsProvider implements ExperimentAnalyticsProvider
Provides a tracking implementation for standard experiment events generated by the client (e.g. exposure) using an AmplitudeClient instance.
-
-
Constructor Summary
Constructors Constructor Description AmplitudeAnalyticsProvider(AmplitudeClient amplitudeClient)
-
Method Summary
Modifier and Type Method Description Unittrack(ExperimentAnalyticsEvent event)Wraps an analytics event track call. UnitsetUserProperty(ExperimentAnalyticsEvent event)Wraps an analytics identify or set user property call. UnitunsetUserProperty(ExperimentAnalyticsEvent event)Wraps an analytics unset user property call. -
-
Method Detail
-
track
Unit track(ExperimentAnalyticsEvent event)
Wraps an analytics event track call. This is typically called by the experiment client after setting user properties to track an "Experiment Exposure" event
- Parameters:
event- see ExperimentAnalyticsEvent
-
setUserProperty
Unit setUserProperty(ExperimentAnalyticsEvent event)
Wraps an analytics identify or set user property call. This is typically called by the experiment client before sending an "Experiment Exposure" event.
- Parameters:
event- see ExperimentAnalyticsEvent
-
unsetUserProperty
Unit unsetUserProperty(ExperimentAnalyticsEvent event)
Wraps an analytics unset user property call. This is typically called by the experiment client when a user has been evaluated to use a fallback variant.
- Parameters:
event- see ExperimentAnalyticsEvent
-
-
-
-