react-native-tracker.subjectconfiguration
Home > @snowplow/react-native-tracker > SubjectConfiguration
SubjectConfiguration interface
Configuration of subject properties tracked with events
Signature:export interface SubjectConfiguration
Properties
| Property | Type | Description |
|---|---|---|
| colorDepth? | number | (Optional) Color depth (integer) |
| domainUserId? | string | (Optional) The domain user id (DUID) is a generated identifier that is stored in a first party cookie on Web. The React Native tracker does not assign it automatically. |
| ipAddress? | string | (Optional) Override the IP address of the device |
| language? | string | (Optional) The language set in the device |
| networkUserId? | string | (Optional) Override the network user id (UUIDv4) that is assigned by the collector and stored in cookies |
| screenResolution? | ScreenSize | (Optional) The screen resolution |
| screenViewport? | ScreenSize | (Optional) The screen viewport size |
| timezone? | string | (Optional) The timezone label |
| useragent? | string | (Optional) The custom user-agent. It overrides the user-agent used by default. |
| userId? | string | (Optional) Business-defined user ID for this user |