FundChart DocsTry with your fund

Docs/Embed on your site

How to embed fund performance charts in Webflow

Live fund widgets inside Webflow using an Embed element — designer-friendly, no code export.

Updated 8 Nov 2026View as Markdown

What investors find today

A Webflow site is usually the best-looking thing a boutique manager owns, and the fund page on it is a PDF link. The big houses show a live fund page: growth chart, performance table, allocation, holdings, in the firm's colours, current to last month-end. FundChart gives the boutique the same page from the factsheet it already publishes, and Webflow needs one Embed element.

Before you start

  • A FundChart workspace with the fund published (its review: Check data, Layout, Approve). Open the fund's review, go to the Layout step, press Layout to open the panel and open the Embed code card: Copy beside "Full fund page" gives the two lines you need, a script tag and a <fundchart-page> tag with your token and the fund's id. The name on the tag is the fund's slug, so twenty similar lines can be told apart. Home's Live tab has the same copy button beside each live fund.
  • Your site's domains under Settings → API & agents → allowed domains: the webflow.io staging domain while you test, and the real domain for launch. The token renders only on the domains you list.
  • Edit rights in the Webflow Designer. The Embed element is on every plan, and the webflow.io staging domain is enough to see it working.
The Layout step's Embed code card: Full fund page, Single widget and Fund centre, each with a Copy button.
The Layout step's Embed code card: Full fund page, Single widget and Fund centre, each with a Copy button.

Add the Embed element

  1. Open the page (or make one, for example /funds/global-equity) and click where the fund page should sit: inside a Section and a Container if the page has them, straight in the Body if not.
  2. Add panel → Embed. Webflow drops a Code Embed element in and shows a grey placeholder reading "This script embed only displays in preview mode (with custom code enabled) or on the published/exported site". That is normal; the Designer canvas never runs scripts.
The Webflow Designer with the Code Embed element selected and its grey placeholder in the canvas.
The Webflow Designer with the Code Embed element selected and its grey placeholder in the canvas.
  1. Double-click the element (or the gear) to open the Code Embed Editor and paste the two lines from the Embed code card. Save & Close.
<script async src="https://embed.fundchart.io/e.js"></script>
<fundchart-page token="fcp_YOUR_TOKEN" fund="YOUR_FUND_ID" name="your-fund" background="inherit"></fundchart-page>
The Code Embed Editor with the script line and the fundchart-page line pasted.
The Code Embed Editor with the script line and the fundchart-page line pasted.
  1. Give it room. Leave the element at its default Block display and auto height; set width to 100% if the parent is a flex or grid box. Never give the element or its wrapper a fixed height: the fund page is about 2,500px tall and grows with the sections you switch on. A wrapper fixed at 720px puts the site footer across the charts.
  2. To see it before publishing, open Preview and switch on Enable custom code? at the bottom of the canvas. The toggle only affects preview mode; the published site needs nothing.
The Enable custom code toggle shown in Webflow's preview mode.
The Enable custom code toggle shown in Webflow's preview mode.
  1. Publish. Tick the staging domain (and the custom domain when you launch) and press Publish to selected domains.
Webflow's publish dialog with the webflow.io staging domain ticked.
Webflow's publish dialog with the webflow.io staging domain ticked.
  1. Open the published page. The fund page appears where the element sits, in your site's header and footer, at your site's width.
The published Webflow page with the fund page in place: fund facts, headline returns, performance.
The published Webflow page with the fund page in place: fund facts, headline returns, performance.

Full page, single widgets, or a fund centre

The same script serves three tags. <fundchart-page> is the whole fund page. <fundchart-widget type="growth"> (or perf-chart, allocation, holdings, facts) drops one chart into a column of your own layout, one Embed element each. <fundchart-center> lists every published fund in the workspace as one table, for a Funds page. Several elements on one page share the one script line.

Breakpoints and sizing

The page lays itself out to the width it is given, so Webflow's breakpoints need nothing from you: at 991px and below the charts refit, at 767px tables scroll inside themselves, at 478px the phone layout takes over. The embed keeps its own text alignment and fonts, so a centred Text Block style on a parent does not centre the fund page. An Embed element dropped straight into the Body with no Container is given a 20px gutter of its own.

Matching your site

  • background="inherit" lets the widgets sit on your page's own background, light or dark.
  • The look (Editorial or Classic), the brand colour and the font are set in FundChart, in the Layout step's Look card, not in Webflow; change them there and every page follows.
  • A custom look built for your site carries its own colours and section order; leave brand, background and sections off the tag.
  • Webflow interactions, sticky navs and lightboxes sit above the embed as they would above any element; keep a sticky nav's z-index below any modal you want on top.

Month-end

Nothing changes in Webflow. Upload next month's factsheet in FundChart, review, publish; the page on your site shows the new month within a minute, without a Webflow publish. Every figure on the page traces to a line in the file you uploaded, and the audit trail records who uploaded, who approved, and when it went live.

If it does not show

  • The grey placeholder in the Designer: expected. Look at preview (with custom code enabled) or the published page.
  • Nothing in preview: switch on Enable custom code? at the bottom of the preview canvas.
  • A dashed box reading "this fund isn't published yet, or the token is wrong": publish the fund, or copy the tag again from the Embed code card.
  • "domain not allowed for this token": add your-site.webflow.io and your real domain under allowed domains.
  • The footer draws over the charts: the element or a wrapper has a fixed height. Set it to auto.
  • Charts look squeezed, or the page shows its phone layout on a desktop: the element sits in a narrow column; move it to the Section's full-width Container.
  • Nothing at all on the published site and no placeholder: the site plan blocks custom code on that domain. Check the site plan in Webflow, then the browser console for a blocked script.