-
Notifications
You must be signed in to change notification settings - Fork 0
Javascript SDK Troubleshooting
Samuel Berthe edited this page Mar 9, 2022
·
12 revisions
When you call the identity
or alias
command from the client-side, right after user registration, the visitor can be redirected to a new page with limited access.
In that case, Screeb recommends making those calls from the welcome page.
Since the targeting engine built by Screeb runs in the background, you may not understand which rules prevent your survey from being displayed to a user.
Open the developer console and call the following Screeb command: $screeb('targeting.debug');
.
You will get a list of available surveys and the associated targeting rules:
The rules with a green dot 🟢 are the ones that have been validated for this user. The rules with a red dot 🔴 are not validated and maybe the reason why your survey is not displayed.