Wix, Squarespace & more

Most site builders have a code or embed block that accepts the Fontsbox code. Some only allow scripts on paid plans, so check your plan if the tester doesn't show.

HTML
<div data-fontsbox-family="123"></div>
<script src="https://fb-emb.digture.id/embed.js" async></script>

Squarespace

  1. Edit the page and click Add block where the tester should go.
  2. Choose Code, keep the mode set to HTML, and paste the embed code.
  3. Turn off Display source and save.

Squarespace only runs scripts in Code blocks on some plans. If the page shows nothing, check that your plan includes JavaScript in code blocks.

Webflow

  1. Open the Add panel and drag a Code Embed element onto the page.
  2. Paste the embed code and click Save & Close.
  3. Publish the site. Custom code doesn't run inside the Designer, so check the published page.

Wix

  1. In the editor, click Add Elements → Embed Code → Embed HTML.
  2. Choose Code, paste the embed code, and click Update.
  3. Drag the element's edges so it's tall enough for the tester, then publish.

Wix runs this code in a frame on a Wix-owned address, so the tester can't grow the frame by itself. Leave room for the controls and a few lines of text. If you use Allowed sites and the tester says "Preview not available", see Troubleshooting to find the address to add.

Other site builders

Look for a block called HTML, Code, Embed or Custom code and paste the embed code into it. If the builder offers a site-wide "footer code" setting, you can put the <script> line there once and use only the <div> on pages.

Font marketplaces

Marketplaces such as MyFonts, Creative Market, Etsy, Gumroad and Envato don't let sellers add scripts to product pages, so the tester can't run there. Instead:

  1. Put the tester on a page of your own site (any of the guides above).
  2. Link to that page from your marketplace listing, for example "Try it live on our website".