directUserRequest property

bool? directUserRequest
getter/setter pair

Indicates if the request is made directly from the end user in which case the user_agent and ip_address fields can be populated from the HTTP request.

This should not be set when using the javascript pixel. This flag should be set only if the API request is made directly from the end user such as a mobile app (and not if a gateway or a server is processing and pushing the user events).

Optional.

Implementation

core.bool? directUserRequest;