Method | Description | |
---|---|---|
Options ( ) : System |
Options object that allows the specification of a timestamp, an anonymousId, a context, or target integrations.
|
|
SetAnonymousId ( string anonymousId ) : |
Sets the anonymousId of the user. This is typically a cookie session id that identifies a visitor before they have logged in.
|
|
SetContext ( Segment.Model.Context context ) : |
Sets the context of this analytics call. Context contains information about the environment such as the app, the user agent, ip, etc ..
|
|
SetIntegration ( string integration, bool enabled ) : |
Determines which integrations this messages goes to. new Options() .Integration("All", false) .Integration("Mixpanel", true) will send a message to only Mixpanel.
|
|
SetTimestamp ( System.DateTime timestamp ) : |
Sets the timestamp of when an analytics call occurred. The timestamp is primarily used for historical imports or if this event happened in the past. The timestamp is not required, and if it's not provided, our servers will timestamp the call as if it just happened.
|
public SetAnonymousId ( string anonymousId ) : |
||
anonymousId | string | The visitor's anonymousId. |
return |
public SetContext ( Segment.Model.Context context ) : |
||
context | Segment.Model.Context | The visitor's context. |
return |
public SetIntegration ( string integration, bool enabled ) : |
||
integration | string | The integration name. |
enabled | bool | If set to |
return |
public SetTimestamp ( System.DateTime timestamp ) : |
||
timestamp | System.DateTime | The call's timestamp. |
return |