메소드 | 설명 | |
---|---|---|
Alias ( string previousId, string userId ) : void |
Aliases an anonymous user into an identified user.
|
|
Alias ( string previousId, string userId, |
Aliases an anonymous user into an identified user.
|
|
Client ( string writeKey ) : System |
Creates a new REST client with a specified API writeKey and default config
|
|
Client ( string writeKey, |
Creates a new REST client with a specified API writeKey and default config
|
|
Dispose ( ) : void |
Disposes of the flushing thread and the message queue. Note, this does not call Flush() first. Call Dispose when you are finished using the Segment.Client. The Dispose method leaves the Segment.Client in an unusable state. After calling Dispose, you must release all references to the Segment.Client so the garbage collector can reclaim the memory that the Segment.Client was occupying. |
|
Flush ( ) : void |
Blocks until all messages are flushed
|
|
Group ( string userId, string groupId, object>.IDictionary |
The `group` method lets you associate a user with a group. Be it a company, organization, account, project, team or whatever other crazy name you came up with for the same concept! It also lets you record custom traits about the group, like industry or number of employees.
|
|
Group ( string userId, string groupId, object>.IDictionary |
The `group` method lets you associate a user with a group. Be it a company, organization, account, project, team or whatever other crazy name you came up with for the same concept! It also lets you record custom traits about the group, like industry or number of employees.
|
|
Group ( string userId, string groupId, |
The `group` method lets you associate a user with a group. Be it a company, organization, account, project, team or whatever other crazy name you came up with for the same concept! It also lets you record custom traits about the group, like industry or number of employees.
|
|
Identify ( string userId, object>.IDictionary |
Identifying a visitor ties all of their actions to an ID you recognize and records visitor traits you can segment by.
|
|
Identify ( string userId, object>.IDictionary |
Identifying a visitor ties all of their actions to an ID you recognize and records visitor traits you can segment by.
|
|
Page ( string userId, string name ) : void |
The `page` method let your record whenever a user sees a webpage on your website, and attach a `name`, `category` or `properties` to the webpage load.
|
|
Page ( string userId, string name, object>.IDictionary |
The `page` method let your record whenever a user sees a webpage on your website, and attach a `name`, `category` or `properties` to the webpage load.
|
|
Page ( string userId, string name, object>.IDictionary |
The `page` method let your record whenever a user sees a webpage on your website, and attach a `name`, `category` or `properties` to the webpage load.
|
|
Page ( string userId, string name, |
The `page` method let your record whenever a user sees a webpage on your website, and attach a `name`, `category` or `properties` to the webpage load.
|
|
Page ( string userId, string name, string category ) : void |
The `page` method let your record whenever a user sees a webpage on your website, and attach a `name`, `category` or `properties` to the webpage load.
|
|
Page ( string userId, string name, string category, object>.IDictionary |
The `page` method let your record whenever a user sees a webpage on your website, and attach a `name`, `category` or `properties` to the webpage load.
|
|
Screen ( string userId, string name ) : void |
The `screen` method let your record whenever a user sees a mobile screen on your mobile app, and attach a `name`, `category` or `properties` to the screen.
|
|
Screen ( string userId, string name, object>.IDictionary |
The `screen` method let your record whenever a user sees a mobile screen on your mobile app, and attach a `name`, `category` or `properties` to the screen.
|
|
Screen ( string userId, string name, object>.IDictionary |
The `screen` method let your record whenever a user sees a mobile screen on your mobile app, and attach a `name`, `category` or `properties` to the screen.
|
|
Screen ( string userId, string name, |
The `screen` method let your record whenever a user sees a mobile screen on your mobile app, and attach a `name`, `category` or `properties` to the screen.
|
|
Screen ( string userId, string name, string category ) : void |
The `screen` method let your record whenever a user sees a mobile screen on your mobile app, and attach a `name`, `category` or `properties` to the screen.
|
|
Screen ( string userId, string name, string category, object>.IDictionary |
The `screen` method let your record whenever a user sees a mobile screen on your mobile app, and attach a `name`, `category` or `properties` to the screen.
|
|
Track ( string userId, string eventName ) : void |
Whenever a user triggers an event on your site, you’ll want to track it.
|
|
Track ( string userId, string eventName, object>.IDictionary |
Whenever a user triggers an event on your site, you’ll want to track it.
|
|
Track ( string userId, string eventName, object>.IDictionary |
Whenever a user triggers an event on your site, you’ll want to track it so that you can analyze and segment by those events later.
|
|
Track ( string userId, string eventName, |
Whenever a user triggers an event on your site, you’ll want to track it so that you can analyze and segment by those events later.
|
메소드 | 설명 | |
---|---|---|
Enqueue ( |
||
HasAnonymousId ( |
Determines whether an anonymous identifier is defined in the specified options.
|
|
RaiseFailure ( |
||
RaiseSuccess ( |
public Alias ( string previousId, string userId ) : void | ||
previousId | string | The anonymous user's id before they are logged in. |
userId | string | the identified user's id after they're logged in. |
리턴 | void |
public Alias ( string previousId, string userId, |
||
previousId | string | The anonymous user's id before they are logged in. |
userId | string | the identified user's id after they're logged in. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Client ( string writeKey, |
||
writeKey | string | |
config | ||
리턴 | System |
public Group ( string userId, string groupId, object>.IDictionary |
||
userId | string | The visitor's database identifier after they log in, or you know /// who they are. By explicitly grouping a user, you tie all of their actions to their group. |
groupId | string | The group's database identifier after they log in, or you know /// who they are. |
traits | object>.IDictionary | A dictionary with group keys like "name", “subscriptionPlan”. /// You can segment your users by any trait you record. Pass in values in key-value format. /// String key, then its value { String, Integer, Boolean, Double, or Date are acceptable types for a value. } |
리턴 | void |
public Group ( string userId, string groupId, object>.IDictionary |
||
userId | string | The visitor's database identifier after they log in, or you know /// who they are. By explicitly grouping a user, you tie all of their actions to their group. |
groupId | string | The group's database identifier after they log in, or you know /// who they are. |
traits | object>.IDictionary | A dictionary with group keys like "name", “subscriptionPlan”. /// You can segment your users by any trait you record. Pass in values in key-value format. /// String key, then its value { String, Integer, Boolean, Double, or Date are acceptable types for a value. } |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of the message. | |
리턴 | void |
public Group ( string userId, string groupId, |
||
userId | string | The visitor's database identifier after they log in, or you know /// who they are. By explicitly grouping a user, you tie all of their actions to their group. |
groupId | string | The group's database identifier after they log in, or you know /// who they are. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Identify ( string userId, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. |
traits | object>.IDictionary | A dictionary with keys like "email", "name", “subscriptionPlan” or /// "friendCount”. You can segment your users by any trait you record. /// Pass in values in key-value format. String key, then its value /// { String, Integer, Boolean, Double, or Date are acceptable types for a value. } |
리턴 | void |
public Identify ( string userId, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. |
traits | object>.IDictionary | A dictionary with keys like "email", "name", “subscriptionPlan” or /// "friendCount”. You can segment your users by any trait you record. /// Pass in values in key-value format. String key, then its value /// { String, Integer, Boolean, Double, or Date are acceptable types for a value. } |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Page ( string userId, string name ) : void | ||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the webpage, like "Signup", "Login" |
리턴 | void |
public Page ( string userId, string name, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the webpage, like "Signup", "Login" |
properties | object>.IDictionary | A dictionary with items that describe the page /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
리턴 | void |
public Page ( string userId, string name, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the webpage, like "Signup", "Login" |
properties | object>.IDictionary | A dictionary with items that describe the page /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Page ( string userId, string name, |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the webpage, like "Signup", "Login" |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Page ( string userId, string name, string category ) : void | ||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the webpage, like "Signup", "Login" |
category | string | The (optional) category of the webpage, like "Authentication", "Sports" |
리턴 | void |
public Page ( string userId, string name, string category, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the webpage, like "Signup", "Login" |
category | string | The (optional) category of the mobile screen, like "Authentication", "Sports" |
properties | object>.IDictionary | A dictionary with items that describe the page /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Screen ( string userId, string name ) : void | ||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the mobile screen, like "Signup", "Login" |
리턴 | void |
public Screen ( string userId, string name, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the mobile screen, like "Signup", "Login" |
properties | object>.IDictionary | A dictionary with items that describe the screen /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
리턴 | void |
public Screen ( string userId, string name, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the mobile screen, like "Signup", "Login" |
properties | object>.IDictionary | A dictionary with items that describe the screen /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Screen ( string userId, string name, |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the mobile screen, like "Signup", "Login" |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Screen ( string userId, string name, string category ) : void | ||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the mobile screen, like "Signup", "Login" |
category | string | The (optional) category of the mobile screen, like "Authentication", "Sports" |
리턴 | void |
public Screen ( string userId, string name, string category, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
name | string | The name of the mobile screen, like "Signup", "Login" |
category | string | The (optional) category of the mobile screen, like "Authentication", "Sports" |
properties | object>.IDictionary | A dictionary with items that describe the screen /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Track ( string userId, string eventName ) : void | ||
userId | string | The visitor's identifier after they log in, or you know /// who they are. |
eventName | string | The event name you are tracking. It is recommended /// that it is in human readable form. For example, "Bought T-Shirt" /// or "Started an exercise" |
리턴 | void |
public Track ( string userId, string eventName, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. |
eventName | string | The event name you are tracking. It is recommended /// that it is in human readable form. For example, "Bought T-Shirt" /// or "Started an exercise" |
properties | object>.IDictionary | A dictionary with items that describe the event /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
리턴 | void |
public Track ( string userId, string eventName, object>.IDictionary |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
eventName | string | The event name you are tracking. It is recommended /// that it is in human readable form. For example, "Bought T-Shirt" /// or "Started an exercise" |
properties | object>.IDictionary | A dictionary with items that describe the event /// in more detail. This argument is optional, but highly recommended — /// you’ll find these properties extremely useful later. |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |
public Track ( string userId, string eventName, |
||
userId | string | The visitor's identifier after they log in, or you know /// who they are. By /// explicitly identifying a user, you tie all of their actions to their identity. /// This makes it possible for you to run things like segment-based email campaigns. |
eventName | string | The event name you are tracking. It is recommended /// that it is in human readable form. For example, "Bought T-Shirt" /// or "Started an exercise" |
options | Options allowing you to set timestamp, anonymousId, target integrations, /// and the context of th emessage. | |
리턴 | void |