| Package | Description |
|---|---|
| com.github.segmentio | |
| com.github.segmentio.models |
| Modifier and Type | Method and Description |
|---|---|
void |
AnalyticsClient.alias(String previousId,
String userId,
Options options)
Aliases an anonymous user into an identified user.
|
void |
Analytics.alias(String previousId,
String userId,
Options options)
Aliases an anonymous user into an identified user.
|
void |
AnalyticsClient.group(String userId,
String groupId,
Traits traits,
Options options)
The `group` method lets you associate a user with a group.
|
void |
Analytics.group(String userId,
String groupId,
Traits traits,
Options options)
The `group` method lets you associate a user with a group.
|
void |
AnalyticsClient.identify(String userId,
Traits traits,
Options options)
Identifying a user ties all of their actions to an id, and associates
user traits to that id.
|
void |
Analytics.identify(String userId,
Traits traits,
Options options)
Identifying a user ties all of their actions to an id, and associates
user traits to that id.
|
void |
AnalyticsClient.page(String userId,
String name,
Props properties,
Options options)
The `page` method let your record whenever a user sees a web page on
your web site, and attach a `name`, `category` or `properties` to the web page load.
|
void |
Analytics.page(String userId,
String name,
Props properties,
Options options)
The `page` method let your record whenever a user sees a web page on
your web site, and attach a `name`, `category` or `properties` to the web page load.
|
void |
AnalyticsClient.page(String userId,
String name,
String category,
Props properties,
Options options)
The `page` method let your record whenever a user sees a web page on
your web site, and attach a `name`, `category` or `properties` to the web page load.
|
void |
Analytics.page(String userId,
String name,
String category,
Props properties,
Options options)
The `page` method let your record whenever a user sees a web page on
your web site, and attach a `name`, `category` or `properties` to the web page load.
|
void |
AnalyticsClient.screen(String userId,
String name,
Props properties,
Options options)
The `screen` method let your record whenever a user sees a mobile screen,
and attach a `name`, `category` or `properties` to the web page load.
|
void |
Analytics.screen(String userId,
String name,
Props properties,
Options options)
The `screen` method let your record whenever a user sees a mobile screen,
and attach a `name`, `category` or `properties` to the web page load.
|
void |
AnalyticsClient.screen(String userId,
String name,
String category,
Props properties,
Options options)
The `screen` method let your record whenever a user sees a mobile screen,
and attach a `name`, `category` or `properties` to the web page load.
|
void |
Analytics.screen(String userId,
String name,
String category,
Props properties,
Options options)
The `screen` method let your record whenever a user sees a mobile screen,
and attach a `name`, `category` or `properties` to the web page load.
|
void |
AnalyticsClient.track(String userId,
String event,
Props properties,
Options options)
Whenever a user triggers an event, you’ll want to track it.
|
void |
Analytics.track(String userId,
String event,
Props properties,
Options options)
Whenever a user triggers an event, you’ll want to track it.
|
| Modifier and Type | Method and Description |
|---|---|
Options |
Options.setAnonymousId(String anonymousId)
Sets the cookie / anonymous Id of this visitor.
|
Options |
Options.setContext(Context context)
Sets the context of this analytics call.
|
Options |
Options.setIntegration(String integration,
boolean enabled)
Sets whether this call will be sent to the target integration.
|
Options |
Options.setTimestamp(org.joda.time.DateTime timestamp)
Sets the timestamp of when an analytics call occurred.
|
| Constructor and Description |
|---|
Alias(String previousId,
String userId,
Options options) |
BasePayload(String type,
Options options) |
Group(String userId,
String groupId,
Traits traits,
Options options) |
Identify(String userId,
Traits traits,
Options options) |
Page(String userId,
String name,
String category,
Props properties,
Options options) |
PropertyPayload(String type,
Props properties,
Options options) |
Screen(String userId,
String name,
String category,
Props properties,
Options options) |
Track(String userId,
String event,
Props properties,
Options options) |
Copyright © 2015. All Rights Reserved.