Docs

Wix

Documentation

Install on Wix

Add SpryUI to your Wix site, connect your project, and check your first banner on a published page with this setup guide.

Before you start

Copy your project’s public key and add your website’s hostname in Get Started.

Use a published site with a connected domain. Wix may restrict third-party scripts; verify the banner on your published site before relying on this setup.

Add the snippet

  1. Open Settings → Custom Code → Add Custom Code in your site dashboard.
  2. Paste the snippet below and give it a name, such as SpryUI.
  3. Select All pages and Body – end, then apply.

Replace YOUR_PROJECT_PUBLIC_KEY with your key. Add this snippet once.

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

Check your banner

In SpryUI, create and enable a Production banner. Open your published website in a new tab. If it does not appear, follow Troubleshooting.

Wix’s custom code instructions ↗