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.
client.trackUserQuestion(userQuestion: String);
userQuestion
is the query submitted by the user.
This method has no optional parameters.
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.
client.trackUserQuestion('What is the language of this question?');