Docs

HTML

Documentation

Install with HTML

Add the SpryUI script to your website, connect your project with a public key, and display your first banner without a build step.

Add the script

Complete the project setup in Get Started. Paste this before your page’s closing </body> tag, replacing the public key.

Snippethtml
<script src="https://spryui.com/sdk/v1/index.iife.js"></script>
<script>
  SpryUI.initSpryUi({ publicKey: "YOUR_PROJECT_PUBLIC_KEY" });
</script>

Add it once in your shared layout to cover every page.

Display your banner

Create and enable a Production banner in SpryUI, then open your published page. Future edits are managed in the dashboard.

See the HTML demo ↗ · Banner not showing?