Skip to main content
Version: Browser SDK

Troubleshooting

Check if the SDK is loaded correctlyโ€‹

Call debug() in your browser console or in code:

import * as Screeb from "@screeb/sdk-browser";

Screeb.debug();

You will see contextual information about the running user session (channel id, user id, session duration...).

Debug targeting rulesโ€‹

Screeb.targetingDebug();

You will get a list of available surveys and their targeting rules. Rules with a green dot ๐ŸŸข are validated; red dot ๐Ÿ”ด rules are not.

Debug message conditionsโ€‹

Screeb.debug();

You will get contextual information about active messages and their conditions, including the checks that currently pass or fail.

Common issuesโ€‹

  • SDK not loading: Check that Screeb.load() is called before Screeb.init().
  • No surveys showing: Verify your channel id and check targeting rules with Screeb.targetingDebug().
  • Anonymous users only: Make sure Screeb.identity(...) is called after user login.