Developers

TrackUserQuestion

trackUserQuestion

Use this method to track user questions. Upon receiving a user question in the SDK, the method sends a request to the inbtrck/externalMatching/userQuestion endpoint to obtain the logID of the user question.

Usage

client.trackUserQuestion(userQuestion: String);

userQuestion

userQuestion is the query submitted by the user.

Options

This method has no optional parameters.

Response data format

This method calls the Search API's POST/inbtrck/externalMatching/userQuestion endpoint and obtains the log ID for the user question provided. For the response format, please refer to the Responses section of that endpoint on the Search API Routes page.

Example

client.trackUserQuestion('What is the language of this question?');