directUserRequest property

bool? directUserRequest
getter/setter pair

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

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). This should not be set when using the JavaScript tag in UserEventService.CollectUserEvent.

Implementation

core.bool? directUserRequest;