Docs

Debug mode

Documentation

Check a Banner with Debug Mode

Use the SpryUI debug panel to check installation problems, see which banners matched, and understand why a banner did not appear.

Turn on the panel

Add debug: true to your existing browser initialization. Do not initialize SpryUI a second time.

Snippetjs
SpryUI.initSpryUi({
  publicKey: "YOUR_PROJECT_PUBLIC_KEY",
  debug: true,
});

For an npm installation, use the same option in initSpryUi(). Reload the page you want to check.

Read the results

  • Overview: connection status, environment, and the number of banners fetched, matched, and rendered.
  • Messages: banners that rendered and their selected variants.
  • Issues: errors, warnings, and reasons banners were filtered out.

Total means banners received. Matched means banners that passed the checks. Rendered means banners actually placed on the page.

“Config: provided initialConfig” means your integration supplied the banner data at startup, commonly after fetching it on the server. It is not an error.

Fix the issue, then turn it off

Use the reason shown to check your key, allowed domain, banner settings, or usage allowance. See Troubleshooting for the next steps.

Remove debug: true when finished so visitors do not see the panel.