FundChart DocsTry with your fund

Docs/Embed on your site

How to embed fund performance charts in Wix

The live fund page in a Wix site, in the Wix editor (Custom Code) or Wix Studio (Custom Element), sized by itself.

Updated 8 Nov 2026View as Markdown

What investors find today

A Wix site is quick to build and easy to keep, and the fund page on it is usually a PDF link. FundChart puts the live fund page there instead: facts, returns against the benchmark, exposure, holdings, monthly returns, in your colours and current to last month-end, drawn from the factsheet or workbook you already produce.

Which editor do you have?

Wix has two editors and they take code differently, so pick your tab below. Wix Studio says so in the editor's top bar and in the site's address while you edit (wixstudio.com); everything else is the Wix editor. Either way the fund page sits in your page like any other section and sizes itself: nothing to set by hand.

Before you start

  • A FundChart workspace with the fund published. In the fund's review, open the Layout step, press Layout, open the Embed code card and Copy "Full fund page": a script line and a <fundchart-page> tag with your token, the fund's id and its name.
  • Your site's domain under Settings → API & agents → allowed domains, if you want the token to draw only on your sites.

Custom Code and a [fundchart] box

  1. In the Wix editor, add a Text box where the fund page should go, in a section of its own, and type exactly [fundchart] in it, nothing else. Stretch the box to the section's full width: the fund page takes the box's place and its width.
  2. In the site's dashboard open Settings, scroll to the bottom, and open Development & integrations → Custom code. (If it is not there, the site needs a paid plan with a connected domain.)
Wix's dashboard settings: Development & integrations, with Custom code at the top.
Wix's dashboard settings: Development & integrations, with Custom code at the top.
  1. Press Add Custom Code, paste the two lines from the Embed code card, give it a name, and choose the page the fund goes on.
Wix's Edit Custom Code: the FundChart script and tag pasted in, Home chosen as the page.
Wix's Edit Custom Code: the FundChart script and tag pasted in, Home chosen as the page.
<script async src="https://embed.fundchart.io/e.js"></script>
<fundchart-page token="fcp_YOUR_TOKEN" fund="YOUR_FUND_ID" name="your-fund"></fundchart-page>
  1. Place the code in Body - start or Body - end; either works. Apply.
Place Code in: Head, Body - start or Body - end.
Place Code in: Head, Body - start or Body - end.
  1. Publish the site and open it. The fund page appears where the [fundchart] box was, between your header and footer, and the box is hidden.
The published Wix site: the site's header, then the fund page.
The published Wix site: the site's header, then the fund page.
The published Wix site on a phone.
The published Wix site on a phone.

Good to know:

  • The box must read exactly [fundchart]. For two funds on one page, give each tag its own name (the Embed code card fills it in) and each box the same name: [fundchart:global-equity], [fundchart:bond-fund].
  • The text can show for a moment before the fund page replaces it. Make the box's text small, or the colour of the section's background, and nobody sees it.
  • This leans on how Wix draws its pages today. If the fund page ever stops showing after a Wix update, tell us: the fix is on our side and nothing on your site needs to change.

A Custom Element

  1. In Wix Studio press Add Elements → Embed & Social → Custom Element, and drag it where the fund page should go.
Wix Studio's Add Elements: Embed & Social, Custom Element.
Wix Studio's Add Elements: Embed & Social, Custom Element.
  1. Select the element. It shows two buttons, Choose Source and Set Attributes. Studio may also open a code panel underneath (Velo); you need nothing from it.
The Custom Element selected, with Choose Source and Set Attributes above it and the code panel below.
The Custom Element selected, with Choose Source and Set Attributes above it and the code panel below.
  1. Choose Source: pick Server URL and enter https://embed.fundchart.io/e.js.
Choose Source: Server URL with FundChart's script address.
Choose Source: Server URL with FundChart's script address.
  1. In the same panel, scroll down past the Dev Mode notice to Tag name and enter fundchart-page. Easy to miss: without it Wix keeps its own placeholder and nothing draws.
Tag name: fundchart-page.
Tag name: fundchart-page.
  1. Set Attributes: add three, one at a time, from the tag on the Embed code card: token (fcp_…), fund (the fund's id) and name (the fund's name).
Set Attributes: the fund attribute and its value.
Set Attributes: the fund attribute and its value.
  1. Stretch the element to the section's full width and publish. The height follows the fund page by itself.
The published Wix Studio site with the fund page.
The published Wix Studio site with the fund page.
The published Wix Studio site on a phone.
The published Wix Studio site on a phone.

Good to know:

  • For a fund centre, make another Custom Element with the tag name fundchart-center and one attribute, token. Add link-template (for example /funds/{slug}) to make each row a link.
  • No plan requirement for the Custom Element itself has come up in our test; Wix may ask for a premium plan to publish it on your own domain.

Month-end

Nothing changes in Wix. Upload next month's factsheet in FundChart, review, approve; the page on your Wix site shows the new month within a minute.

Fallback: Embed HTML, height by hand

On any plan and either editor, Add → Embed code → Embed HTML, choose Code and paste the same two lines. Wix shows it in a frame of fixed height on an address of its own, which the fund page cannot make taller, so you size it by hand.

Wix's Add panel: Embed code, display content using HTML code.
Wix's Add panel: Embed code, display content using HTML code.
The Embed HTML settings: Code chosen, the FundChart script and tag pasted in.
The Embed HTML settings: Code chosen, the FundChart script and tag pasted in.

Stretch it to the section's full width, then drag the element's bottom handle down until the whole fund page shows, and the section's handle below it.

The element's and the section's bottom handles in the Wix editor.
The element's and the section's bottom handles in the Wix editor.
  • A full fund page is about 5,600px tall at desktop width, and about 6,800px on a phone. Leave a hundred pixels or so to spare.
  • Wix keeps a separate height for phones: switch to the phone view (top right) and set the height there too.
  • When a section is switched on or off in FundChart, or a month adds rows, check the height again: too short and the fund page scrolls inside the frame; too tall and there is a gap.
  • The frame runs on a Wix address of its own, so a token locked to your domain will not draw in it. Leave the token unlocked for Embed HTML.

If it does not show

  • Wix Studio shows its own "This is a Custom Element" placeholder: the tag name is missing. Set it to fundchart-page (step 4).
  • The text [fundchart] stays on the page (Wix editor): the Custom Code is not on that page, or the box holds other text too.
  • The fund page shows at the very bottom, under the footer (Wix editor): there is no [fundchart] box on the page. Add one.
  • A dashed box reading "this fund isn't published yet, or the token is wrong": publish the fund, or copy the token and fund id again from the Embed code card.
  • "domain not allowed for this token": add your domain under allowed domains (or, with Embed HTML, leave the token unlocked).