For the complete documentation index, see llms.txt. This page is also available as Markdown.

Check if Responded

API reference for checking whether a user answered a Luciq survey. Pass a survey token and receive a boolean before showing it again.

You can pass a survey token to this API to check if a particular user has responded to the survey before showing it. This method takes a string token as an argument and returns a boolean.

let hasResponded = Surveys.hasRespondedToSurvey(withToken: "TOKEN")
BOOL hasResponded = [LCQSurveys hasRespondedToSurveyWithToken:@"TOKEN"];
Surveys.hasRespondToSurvey("TOKEN");
Surveys.hasRespondToSurvey("TOKEN")
Surveys.hasRespondedToSurvey("SURVEY_TOKEN", function(hasResponded) {
  alert("Has Responded: "+hasResponded);
});
final hasResponded = Surveys.hasRespondedToSurvey("SURVEY_TOKEN");

Last updated