How to Collect Donations on Wix With Donorbox

Follow our step-by-step guide to add a Donorbox recurring donation form to your Wix site and start accepting more donations.

4 minutes read
How to Collect Donations on Wix With Donorbox
Subscribe to our e-newsletter to receive the latest blogs, news, and more in your inbox.
❤ Join the fundraising movement!
Subscribe to our e-newsletter to receive the latest blogs, news, and more in your inbox.

Wix is one of the most popular and beginner-friendly website builders out there – and with Donorbox, you can turn it into a secure fundraising hub!

In this guide, we’ll walk you through three easy ways to collect donations on Wix:

  1. Embedding a full donation form
  2. Embedding a popup donation form using Wix lightboxes
  3. Adding a minimal donate button that links to a hosted campaign page

Let’s get started!


Option 1: Embed a Full Donation Form on Your Wix Site

If you want your donation form fully visible on your Wix page, this is the perfect option. Here’s how to set it up.


Step 1

In your Donorbox dashboard, go to “Campaigns” and find the campaign you want to collect donations for on your Wix site.

Haven’t created a campaign on Donorbox yet? This blog will walk you through the process. 

Pro tip: If you want to add a recurring donation form on Wix, choose up to four different intervals to add to your form while you’re editing it:

Screenshot of the different recurring intervals you can add to your Wix recurring donation form


Step 2

Next, you’ll need to navigate to the “Share & Embed” page. To do so, click the “Embed Code” button on the campaign box.


Step 3

Select “Embedded Form” in the top right corner.

Screenshot of embedded form share and embed page


Step 4

Now it’s time to copy the embed code! You’ll find it at the bottom right of your screen, under the form preview. 

Important note: Donorbox gives you the option to select between two form variations: our Classic Form and our OmniGive™ Donation Form. While both are innovative, we strongly recommend you choose the OmniGive donation form to unlock a range of extra benefits. 

Screenshot of embedded form share and embed page

Copy your preferred embed code. 


Step 5

Go to your Wix site editor. Locate or create the page where you want to embed your donation form.

To create a page, under “Site Menu,” click the “Add Page” button, as highlighted below.

Next, type a name for your new page in the box shown in the image below and click “Done.”

Screenshot of the Site Pages and Menu screen on Wix.


Step 6

On the page editor, click the “+” (Add Elements) button on the left sidebar. Select the “Embed Code” option and under “Custom Embeds,” select “Embed HTML.”

The step is highlighted below.

Screenshot showing how to embed HTML on Wix.


Step 7

Click “+” (Add to Site). Then click on “Code” and paste the Donorbox form embed code under “Add your code here.” This is the code that you copied earlier from your Donorbox dashboard.

Next, click “Update.”

Screenshot showing where to paste your Donorbox embed code on Wix.


Step 8

When the donation form appears, expand the code box to ensure that the entire form is visible.

Then, publish your page!


Option 2: Add a Popup Donation Form Using Wix Lightboxes

While Wix doesn’t natively support external popups the way WordPress or Squarespace do, you can simulate a popup donation form using a lightbox and embedded Donorbox form. 


Step 1

Once you’ve copied your embedded donation form code from within the Donorbox “Share & Embed” page, go to the Wix page where you want your popup form to live.

Click the “Add” button at the top of the left-hand sidebar.


Step 2

You’ll need to create a trigger first. This can be either a link or a button so that when it is clicked, the lightbox will appear.

To add a button, click on the “Button” tab Select the type of button that you want and insert it into the page. You can style your button to your preference.


Step 3

Once you’ve added your Wix donate button, you’ll need to add a lightbox.

Click the “Add” tab on the left-hand sidebar and select “Interactive.”

Pick any of the lightbox popup designs that Wix has provided. Wix offers default styling that you can edit and add your custom styling to give it a more interactive look and feel.


Step 4

Now it’s time to insert your Donorbox embedded form. For this, you will first need to insert an HTML iframe inside the lightbox.

Go to the left-hand sidebar and click “Add” again. 

Next, click “Embed Code” and select the option “Embed HTML” to add an HTML iframe into your lightbox.

Screenshot showing how to embed HTML on Wix.


Step 5

Once you have inserted your iframe inside the lightbox, you will need to insert the donation form into the iframe. Click on the iframe, and HTML Settings will appear, as shown below. 


Step 6

Paste your embedded donation form code into the box. You will then see the donation form inside your lightbox.

Be sure to expand your lightbox and iframe to be bigger than your donation form. Otherwise, it may get cut off.

Top tip: You can also edit the background on the overlay and lightbox to make them transparent – so just your donation form is visible.


Step 7

Once you’ve embedded your donation form into the lightbox, go back to the site menu.

Find the page where your donate button is. Select the button and click “Link” – you’ll get a popup asking you where to link it. Select the lightbox that you want to link to the button.

 And that’s it! Now, when you click on the button, the lightbox containing the donation form will pop up. This mimics the behavior of a Donorbox popup donation form.


Option 3: Add a Donate Button on Wix

Use a Donate button that links to your secure, Donorbox-hosted campaign page. 


Step 1

On your Donorbox campaign page, find the campaign you want to add a donate button for. Once you’ve found it, click on the “Embed Code” button. 


Step 2

You’ll find yourself on the Share & Embed page. Select the “Donate page” tab in the top-left corner. 

Then, copy the link to your donation page. 


Step 3

In Wix, click the “Add” button on the top left-hand corner, then select the “Button” tab.


Step 4

Choose your preferred button style, then design and place it accordingly.


Step 5

Click on the button, then select the link button underneath. 

Then, add the link to your Donorbox donation page, making sure the “New window” button is selected, so your donors are redirected to your secure Donorbox-hosted page. 

That’s it! Here’s an example of how your Donorbox-hosted fundraising page could look:

Screenshot of Protect the Wild's Donorbox-hosted donation page.
Raise Funds on Wix With Donorbox


Over to You

Whether you’re embedding a full form, adding a simple Donate button, or mimicking a popup with Wix’s lightboxes, Donorbox gives you the tools to fundraise your way.

Sign up for free today! And be sure to check out the rest of our Nonprofit Blog for more fundraising tips and resources.

Avatar photo

Raviraj heads the sales and marketing team at Donorbox. His growth-hacking abilities have helped Donorbox boost fundraising efforts for thousands of nonprofit organizations.

  • facebook
  • twitter
  • instagram
  • linkedin
  • tumblr
Subscribe to our e-newsletter to receive the latest blogs, news, and more in your inbox.
❤ Join the fundraising movement!
Subscribe to our e-newsletter to receive the latest blogs, news, and more in your inbox.

Join the fundraising movement!

Subscribe to our e-newsletter to receive the latest blogs, news, and more in your inbox.

Take your donor experience to the next level!
Join the 50,000+ nonprofits already raising funds online.
See for yourself how easy fundraising can be with Donorbox.
See for yourself how easy fundraising can be with Donorbox.