public class

OptimizelyUniversalAnalyticsIntegration

extends Object
java.lang.Object
   ↳ com.optimizely.integrations.universalanalytics.OptimizelyUniversalAnalyticsIntegration

Class Overview

Root entry point for Optimizely/UniversalAnalytics integration It adds the Optimizely experiments as a custom dimension on UA events. Config Schema: { "experiment_dimension_mapping": }

Summary

Public Constructors
OptimizelyUniversalAnalyticsIntegration()
Public Methods
String evaluateCodeBlock(String blockKey)
boolean evaluateDimensions(String dimensionName, JSONObject condition)
<T> Object evaluateLiveVariable(Class<T> type, String key, T defaultValue)
Application.ActivityLifecycleCallbacks getActivityLifecycleCallbacks()
List<String> getCodeBlocks()
List<String> getDependencies()
List<String> getDimensionNames()
List<String> getLiveVariables()
View.OnTouchListener getOnTouchListener()
OptimizelyEventListener getOptimizelyEventsListener()
String getPluginId()
List<String> getRequiredPermissions(Context context)
List<OptimizelyView> getVisualChangesForActivity(Activity activity, String name)
static void setTracker(Tracker tracker)
boolean start(Optimizely optimizely, JSONObject config)
void stop()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public OptimizelyUniversalAnalyticsIntegration ()

Public Methods

public String evaluateCodeBlock (String blockKey)

public boolean evaluateDimensions (String dimensionName, JSONObject condition)

public Object evaluateLiveVariable (Class<T> type, String key, T defaultValue)

public Application.ActivityLifecycleCallbacks getActivityLifecycleCallbacks ()

public List<String> getCodeBlocks ()

public List<String> getDependencies ()

public List<String> getDimensionNames ()

public List<String> getLiveVariables ()

public View.OnTouchListener getOnTouchListener ()

public OptimizelyEventListener getOptimizelyEventsListener ()

public String getPluginId ()

public List<String> getRequiredPermissions (Context context)

public List<OptimizelyView> getVisualChangesForActivity (Activity activity, String name)

public static void setTracker (Tracker tracker)

Parameters
tracker the tracker on which to report Optimizely experiment mappings as custom dimensions

public boolean start (Optimizely optimizely, JSONObject config)

public void stop ()