SatisMeter shows surveys based on rules specified in the targeting settings. When installing our survey it sometimes makes sense to bypass the targeting rules - just to check that the code is running properly and the survey looks good on a certain page.
To bypass the targeting rules on the web, add
forceSurvey: true to the SatisMeter code snippet. Here is an example:
name: "John Doe",
Web survey with Trigger on Event feature
If you have Trigger on Event feature setup, to force the survey you should also provide a
campaign property with the survey ID.
The survey ID can be found by going to Settings > Integrations > API Keys.
Select the survey you wish to test, and the platform will display the ID.
To bypass the targeting rules on iOS, set
true. Here is an example:
[SatisMeter sharedInstance].forceSurvey = true;
[[SatisMeter sharedInstance] identifyUserWithUserId: @"007"
If we see the
forceSurvey flag, we will always show the survey, allowing you to make sure everything is working correctly.
Just make sure that you remove the
forceSurvey option when you're done with testing so that your targeting rules apply.