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.

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.