How to add the Fundraise Up installation code to a Wix website

Wix is a cloud-based web development platform that enables users to create stunning websites without needing any coding knowledge. Below, we guide you through adding the Fundraise Up installation code to your Wix website.


For any of the Fundraise Up widgets or direct links to work correctly, you first need to embed a line of Javascript code in the <head> section of your website. Doing so connects your website to Fundraise Up.

Note: Due to how WIX is built, it is not possible to use Apple Pay. Additionally, it is only possible to add HTML directly to WIX through advanced screens.

Please go to Installation page of your Fundraise Up Settings area.

There you will find a code snippet that looks something like this, where 'YOUR_KEY' is a combination of symbols specific to your account.

1<!-- Fundraise Up -->
2<script>(function(w,d,s,n,a){if(!w[n]){var l='call,catch,on,once,set,then,track'
3.split(','),i,o=function(n){return'function'==typeof n?o.l.push([arguments])&&o
4:function(){return o.l.push([n,arguments])&&o}},t=d.getElementsByTagName(s)[0],
9<!-- End Fundraise Up -->

Please embed that code snippet in the <head> section of your website.

The <head> section of the website is the same section where you would typically add other utility code snippets such as Google Analytics tracking code, etc.

On Wix, you have to take the following steps in order to update your <head> section:

  1. Go to your Wix site's Dashboard
  2. Click on Settings in the left-hand panel.
  3. Scroll down, and in the section labeled Advanced, click Custom Code.
  4. Click on the Add Custom Code button.
  5. Paste Fundraise Up JavaScript code snippet into the box titled ‘Paste the code snippet here’.
  6. Select your Domain, and give the Custom Code a name (i.e. Fundraise Up).
  7. In the section titled Add Code to Pages select Load code on each new page from the dropdown within the All pages selection.
  8. For the Place Code in option, please select Head.
  9. Then click the Apply button.

Now that you have your website connected to Fundraise Up, let's look at how you can direct donors to your donor checkout experience on your website.

Sending visitors to make donations

Some of our Elements are global, like the Sticky Button - they're just drawn on the page by the Installation Code, so they'll work without editing the page further. You can make them appear by making them in the Elements tab of your Fundraise Up Dashboard!

Beyond global elements like the Sticky Button, you will likely need to use direct links when sending visitors to your Fundraise Up Campaign's checkout, as Wix has limitations on what raw HTML it'll allow you to insert. Unfortunately, it is not possible to use all Elements in Wix, as only global elements are available. This limitation is important to keep in mind when using our platform for your Wix website design.

Thanks to the Donate Link Element, you can still get many of the benefits of Elements (statistics tracking, configurability on the fly, etc) by having your Wix buttons point to each Donate Link's URL.

  • First, in your Fundraise Up Dashboard, make sure you've set your Website URL in the Organization page of your Settings area.
  • Then, go to the Elements tab, click New Element and make a Donate Link Element, with "Open Campaign" set to the Campaign you want that link to open.
  • Click Create Element
  • Click Copy next to the provided URL

  1. Go to your Wix Dashboard, and click Manage & Edit site > Edit site
  2. Select button, text or image and add the link.
  3. Choose Web Address and enter the Donate Link's URL which you obtained from Fundraise Up.
  4. Where it says 'How does it open,' please select Current Window.
  5. Then click Done.

Wix has the concept of arranging things on the page, which allows you to set some things on a page over one another.

If you're adding a new button to Wix, just make sure the new button is set to be above everything it's on, by right-clicking the button in the Wix editor, going down to Arrange, and choosing Bring to Front.

If that option is greyed out, that Button is already at the front!

Still need help?

Need help with something not covered in Support Center? Connect with a support engineer for more assistance.
Email us