> Documentation index: https://fundchart.io/docs/llms.txt

# 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.

## 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.


## The Wix editor
### 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.](/guides/wix/5-custom-code-menu-ui.png)

3. 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.](/guides/wix/6-custom-code-ui.png)

```html
<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>
```

4. Place the code in **Body - start** or **Body - end**; either works. Apply.

![Place Code in: Head, Body - start or Body - end.](/guides/wix/7-place-code-ui.png)

5. 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.](/guides/wix/8-published.jpg)

![The published Wix site on a phone.](/guides/wix/9-published-phone.jpg)

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.
## Wix Studio
### 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.](/guides/wix/s1-add-custom-element-ui.png)

2. 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.](/guides/wix/s2-element-ui.png)

3. **Choose Source**: pick **Server URL** and enter `https://embed.fundchart.io/e.js`.

![Choose Source: Server URL with FundChart's script address.](/guides/wix/s3-source-ui.png)

4. 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.](/guides/wix/s4-tag-name-ui.png)

5. **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.](/guides/wix/s5-attributes-ui.png)

6. 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.](/guides/wix/s6-published.jpg)

![The published Wix Studio site on a phone.](/guides/wix/s6-published-phone.jpg)

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.](/guides/wix/1-embed-code-ui.png)

![The Embed HTML settings: Code chosen, the FundChart script and tag pasted in.](/guides/wix/2-settings-ui.png)

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.](/guides/wix/4-handles.png)

- 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).

---
Source: https://fundchart.io/docs/embed/wix
Updated: 2026-11-08
