SubjectConfiguration

open class SubjectConfiguration : Configuration, SubjectConfigurationInterface

The SubjectConfiguration can be used to set up the tracker with the basic information about the user and the app. These properties will be added to every event.

Constructors

Link copied to clipboard
constructor(jsonObject: JSONObject)

This constructor is used in remote configuration.

constructor()

Functions

Link copied to clipboard

The color depth. Not automatically assigned.

Link copied to clipboard
open override fun copy(): SubjectConfiguration
Link copied to clipboard

The domain UserID. Not automatically set.

Link copied to clipboard

The IP address. By default, this field is assigned automatically to the event during the enrichment phase of the pipeline (i.e., not by the tracker). This can be prevented by configuring EmitterConfiguration.serverAnonymisation.

Link copied to clipboard

The language used for the app. By default, assigned automatically to the device language.

Link copied to clipboard

Provide a custom network UserID. By default, this field is assigned automatically to the event during the enrichment phase of the pipeline (i.e., not by the tracker). The value is the UUID ID of the event collector cookie. This can be prevented by configuring EmitterConfiguration.serverAnonymisation.

Link copied to clipboard
fun screenResolution(screenResolution: Size?): SubjectConfiguration

The screen resolution. Assigned automatically.

Link copied to clipboard

The screen viewport. Not automatically assigned.

Link copied to clipboard

The timezone. By default, this field is assigned automatically to the device timezone.

Link copied to clipboard

The useragent. By default, this field is assigned automatically to the event during the enrichment phase of the pipeline (i.e., not by the tracker).

Link copied to clipboard

The custom UserID.

Properties

Link copied to clipboard
open override var colorDepth: Int?
Link copied to clipboard
open override var domainUserId: String?
Link copied to clipboard
open override var ipAddress: String?
Link copied to clipboard
open override var language: String?
Link copied to clipboard
open override var networkUserId: String?
Link copied to clipboard
open override var screenResolution: Size?
Link copied to clipboard
open override var screenViewPort: Size?
Link copied to clipboard
open override var timezone: String?
Link copied to clipboard
open override var useragent: String?
Link copied to clipboard
open override var userId: String?