Skip to main content
Sign in

Show donations on your website

Turn on a public feed of your latest donations and show it on your own website, in your own style. Your web developer reads the feed from any site, including Shopify, and decides how it looks.

The donation feed is a URL that returns your 20 most recent donations as JSON. There is no widget to embed: your website fetches the feed and renders it however you like, as a ticker, a list or a "just donated" banner.

Before you start

You need:

Turn on the feed

  1. Go to Settings -> Engage -> Donation feed.
  2. Click Enable.
  3. Copy the Feed URL and give it to your web developer.

The feed starts anonymous: every donation shows its amount, currency and time, but no name.

Choose what the feed shows

On the Donation feed page, under What the feed shows:

Click Save changes. Websites pick up the change within about 90 seconds.

Some donations never show a name, whatever you choose: gifts from an organisation or trust, and gifts where the donor's first name is not a plain name (an email address, a long string, or anything with symbols or numbers in it). Those show as anonymous.

What the feed contains

The feed lists confirmed money donations, newest first, up to 20. Pending, failed and refunded donations are left out, and so are in-kind gifts. A partly refunded donation shows the amount you kept.

{
  "version": 1,
  "donations": [
    {
      "name": "Sarah T.",
      "amount": 50,
      "currency": "AUD",
      "donatedAt": "2026-10-20T03:12:00.000Z"
    }
  ]
}
FieldWhat it holds
nameThe donor's name as you chose to show it, or null when it is hidden.
amountThe amount in dollars after any refund, or null when Show amounts is off.
currencyThe three-letter currency code, for example AUD.
donatedAtWhen the donation was made, as an ISO 8601 timestamp in UTC.

Every field is always present, so a hidden value is null rather than a missing key. Nothing else about the donor or the donation is ever in the feed.

version changes only when an existing field changes or goes away. New fields can be added without a version change, so read the fields you need and ignore the rest. Check version is 1 before you rely on the shape.

Show it on your site

The feed can be called from browser JavaScript on any website. Names are typed in by donors, so always insert them as text, never as HTML: use textContent, not innerHTML.

<ul id="recent-donations"></ul>
<script>
  const FEED_URL = "PASTE YOUR FEED URL HERE";

  async function showDonations() {
    const res = await fetch(FEED_URL);
    if (!res.ok) return;
    const feed = await res.json();
    if (feed.version !== 1) return;

    const list = document.getElementById("recent-donations");
    list.replaceChildren();
    for (const d of feed.donations) {
      const item = document.createElement("li");
      const who = d.name ?? "Someone";
      item.textContent =
        d.amount === null
          ? `${who} just donated`
          : `${who} donated $${d.amount.toFixed(2)}`;
      list.appendChild(item);
    }
  }

  showDonations();
  setInterval(showDonations, 30000);
</script>

New donations appear within about 90 seconds. Polling more often than every 15 seconds gains nothing.

Change or turn off the URL

Anyone with the URL can read the feed. To stop it, click Disable on the Donation feed page: the URL stops working within about a minute and a half and returns a 404.

To change the URL, for example because it was shared somewhere it shouldn't be, click Disable and then Enable. You get a new URL, and the old one never works again. Give the new one to your web developer.

If it goes wrong

What to do next