public class AnalyticsOptions extends Object
| Constructor and Description |
|---|
AnalyticsOptions(OptionsCallback<?> optionsCallback) |
| Modifier and Type | Method and Description |
|---|---|
AppTrackingOptions |
appTrackingOptions()
Allows you to set options in the AppTracking Category.
|
ContentOptions |
contentOptions()
Allows you to set options in the Content Category.
|
CreateOptions |
createOptions()
Allows you to set options for create calls.
|
CustomDimensionsAndMetricsOptions |
customDimensionsAndMetricsOptions()
Allows you to set options for custom dimensions and metrics.
|
CustomDimensionsAndMetricsOptions |
customsOptions()
Deprecated.
since 2.2. Use
customDimensionsAndMetricsOptions() instead. |
EventsOptions |
eventsOptions(String eventCategory,
String eventAction)
Set Options for an event call.
|
ExceptionOptions |
exceptionOptions()
Allows you to set options for tracking exceptions.
|
ExperimentsOptions |
experimentsOptions()
Allows you to set options for tracking experiments.
|
GeneralOptions |
generalOptions()
General options eg. anonymize ip. forceSSL etc.
|
void |
go()
Perform the call.
|
void |
go(HitCallback hitCallback)
Perform the call and then return to the hitcallback when finished.
|
void |
goAndLog(Level level)
Perform the call and log it, useful for debugging or for example if you want to see a timing
event in your console.
|
HitOptions |
hitOptions()
Allows you to set options related to the type of hit. eg.
|
SocialOptions |
socialOptions(String socialNetwork,
String socialAction,
String socialTarget)
Set Options for tracking a social event.
|
SystemOptions |
systemOptions()
Allows you to set system options. eg. whether Java is enabled.
|
TimingOptions |
timingOptions(String timingCategory,
String timingVar,
int timingValue)
Set Options for tracking a timing event.
|
TrafficSourcesOptions |
trafficSourcesOptions()
Set Options for tracking a traffic sources.
|
public AnalyticsOptions(OptionsCallback<?> optionsCallback)
public AppTrackingOptions appTrackingOptions()
public ContentOptions contentOptions()
public CreateOptions createOptions()
@Deprecated public CustomDimensionsAndMetricsOptions customsOptions()
customDimensionsAndMetricsOptions() instead.public CustomDimensionsAndMetricsOptions customDimensionsAndMetricsOptions()
public EventsOptions eventsOptions(String eventCategory, String eventAction)
public ExceptionOptions exceptionOptions()
public ExperimentsOptions experimentsOptions()
public GeneralOptions generalOptions()
public void go()
public void go(HitCallback hitCallback)
hitCallback - public void goAndLog(Level level)
level - public HitOptions hitOptions()
public SocialOptions socialOptions(String socialNetwork, String socialAction, String socialTarget)
public SystemOptions systemOptions()
public TimingOptions timingOptions(String timingCategory, String timingVar, int timingValue)
public TrafficSourcesOptions trafficSourcesOptions()
Copyright © 2015. All Rights Reserved.