Skip to main content

Embedding a Widget

The embed script

Copy the script tag from Integrations → Share & Embed tab in the Financely app. It looks like this:
Place this tag anywhere in your HTML where you want the widget to render. The script inserts the widget inline at the tag’s position.

Attributes

Always copy the full snippet directly from the Share & Embed tab. Do not construct the script manually — the data-org-id and data-widget-id values must match exactly.

Auto-updating

The embed script loads the currently published version of the widget at render time. When you make changes in the widget builder, save, and republish, the new version is served automatically — you do not need to update the embed code on your site.

Script embed vs iFrame embed

iFrame embed

Adjust the height value to match your widget’s content length.

Content Security Policy (CSP)

If your site has a CSP header, you need to allow the following for the script embed:
If you cannot modify your CSP (e.g. on hosted platforms), use the iFrame embed instead.

Platform guides

Webflow

  1. Open the page in Webflow designer
  2. Add an Embed element from the Add panel (HTML Embed)
  3. Paste the script embed code
  4. Click Save & Close
  5. Publish your site

Wix

Wix’s security policy blocks external scripts in most cases. Use the iFrame embed instead:
  1. In the Wix editor, click Add → More → HTML iframe
  2. Click the element → Enter Code
  3. Paste the iFrame embed code
  4. Adjust the height as needed

Squarespace

  1. Open the page in the Squarespace editor
  2. Click Add Block → Code
  3. Paste the script embed code (or iFrame embed if you prefer)
  4. Click Apply

Framer

  1. In the Framer canvas, add an Embed component from the Insert menu
  2. In the component’s properties, paste the script embed code into the HTML field
  3. Set the component’s dimensions to match your widget

Troubleshooting

Open your browser’s developer console and look for errors. Common causes:
  • The widget is in Draft status — it must be Published
  • A CSP error blocking the script — switch to iFrame embed
  • Wrong data-org-id or data-widget-id — copy again from the Share & Embed tab
Check the browser console for network errors on the submit request. The request goes to data-api-url — make sure your CSP allows connect-src to that domain.
The widget-loader.js script has a browser cache. Add a cache-busting query string to the src or hard-reload the page (Ctrl+Shift+R / Cmd+Shift+R) to force a fresh fetch.