Is this article for you? It covers services only available to Give Lively member nonprofits.
Is this article for you? It covers Salesforce integration services only available to Give Lively member nonprofits.

Use embeddable widgets to collect donations on your website

Our customizable donation widgets can be integrated seamlessly and directly into your website or blog to collect donations directly from the site. Here's how to embed a widget on a site you host, or one built using Squarespace, Wix or WordPress.

Before you get started

Video Overview

Walkthrough

Before you get started

Video Overview

Walkthrough

Before you get started

Video Overview

Walkthrough

Before You Get Started

Video Overview

Video Transcript

Walkthrough

VERY IMPORTANT NOTE: The information in this article pertains only to structured widgets set up through the “Donation Widgets” link in the Nonprofit Admin Portal and added to your website using an embed code that we generate. Our donation widgets do not look like or operate in the same manner as a Give Lively fundraising page that appears in an iframe or is otherwise embedded in your website.
 
To manage the look, feel and fields of any other type of Give Lively fundraising page that you embedded in your website, follow the instructions that apply to Campaign Pages or Event Ticketing pages. To troubleshoot issues outside the fields of a non-widget Give Lively fundraising page embedded in your website, please turn to the web developer who embedded the page.

Use the "In This Article" links to the left to find the appropriate section, depending on whether you are using a Simple Donation Widget or Branded Donation Widget, and as a function of the type of site on which it will be hosted (hosted, Squarespace, Wix or WordPress).

Two types of donations widgets

There are two types of widgets: Simple and Branded.

Simple Donation Widget

A Simple Donation Widget has a streamlined design and can be added anywhere.

Visit live page here.

Branded Donation Widget

A Branded Donation Widget allows for the use of branding, imagery, videos, and stories, as well as built-in social sharing to strengthen any fundraising appeal.

Visit live page here.

A note about digital wallets

In most cases, Give Lively widgets detect if a donor's device/browser has digital wallets like Apple Pay, Google Pay or Venmo enabled as a payment method. Learn how to enable and disable digital wallets

In all cases, contact support@givelively.org if you have any problems setting up your widget.

A note about payment forms

We have officially transitioned to our new payment form on Core Profiles, Campaign Pages and Peer-to-Peer Fundraising Pages. Our Event Ticketing and Team Fundraising pages still use our first-generation payment form for now.

With this shift, donors see several new features, including the ability to make optional tips to Give Lively to further extend the reach and capacity of our free products and services for nonprofits.

Embed a Simple Donation Widget on a website you host

  1. Log in to the Nonprofit Admin Portal and click the "Donation Widgets" link in the left-hand navigation bar.
  2. Take a good look at the Widget Preview, which will fit the width of the container in which you embed it, with a recommended container height of 272 pixels.
  3. "Customize Your Widget" by clicking the "Core Profile" field and choosing the fundraising page with which you wish to associate the widget. The widget will automatically adopt the campaign’s styling and donation frequency. In addition, donations from the widget will be associated with this fundraising page in the data you get from our platform.
  4. Under "Donation Amounts," select from the options included on the widget. You can choose to include the four default suggested donation amount buttons ($25, $50, $100, and $250) or come up with your own four suggested amount options. Or you can set one pre-filled amount for the custom donation field (which hides all other suggested amounts).
  5. If you wish to include an option for donors to give in honor or in memory of someone, click the box next to "Allow donors to dedicate their donations" and look back at the Widget Preview to see how it is presented.
  6. Once done tailoring your widget, click the "Get Embed Code" button, and then select and copy the code in its entirety.
  7. Paste the code into your website's code wherever you would like the widget to appear. The widget will fill the container you place it in.

IMPORTANT: You can only place one Donation Widget per web page. You may have more than one Donation Widget on your website so long as the widgets are placed on different pages.

See above for an important note about digital wallets and widgets.

Embed a Branded Donation widget on a website you host

  1. Log in to the Nonprofit Admin Portal and click the "Donation Widgets" link in the left-hand navigation bar.
  2. Click "Branded Donation Widget" in the left-hand menu.
  3. Wait a moment for a preview of the widget to load using information pulled from your primary fundraising page.
  4. If you wish, associate your widget with one of your customized fundraising pages instead of your primary fundraising page. The widget will reload after adopt your campaign’s styling and donation frequency. In addition, donations from the widget will be associated with this fundraising page in data you get from our platform.
  5. Click "Get Embed Code" and then select and copy the code in its entirety.
  6. Paste the code into your website's code wherever you would like the widget to appear. The widget will fill the container you place it in.
  7. IMPORTANT: For your Branded Donation widget to work, it must be served over HTTPS, meaning your website must begin with HTTPS, not HTTP.

IMPORTANT: You can only place one Donation Widget per web page. You may have more than one Donation Widget on your website so long as the widgets are placed on different pages.

See above for an important note about digital wallets and widgets.

Embed a Simple or Branded Donation Widget on a Squarespace site

To add a Simple Donation Widget, follow steps 1-5 above in the Embed a Simple Donation Widget on a website you host section above before turning to the steps below.

To add a Branded Donation Widget, follow steps 1-4 above in the Embed a Branded Donation Widget on a website you host section above before turning to the steps below.

  1. Click "Get Embed Code" and then select the "div" element of the code. For a Simple Donation Widget, it will look like this:
    <div id=“give-lively-widget” class=“gl-simple-donation-widget”></div> 
    For a Branded Donation Widget, it will be similar to this, using your organization's real name and, if relevant, campaign name:
    <div data-widget-src=’https://smart-donations-staging.givelively.org/donate/your-organization-name/campaign-name?ref=sd_widget' id=“give-lively-widget” class=“gl-branded-donation-widget”></div> 
  2. Follow these instructions provided by Squarespace
  3. Paste the "div" element from above into the Code element on the page where the widget will appear.
  4. Copy the "script" element from the embed code. The section starts and ends with "script" and will look something like this, using the type of widget, your organization's real name and, if relevant, campaign name:
    <script>gl=document.createElement(‘script’);gl.src=’https://smart-donations-staging.givelively.org/widgets/simple_donation/your-organization-name/ddsao.js?show_suggested_amount_buttons=false&show_in_honor_of=false&address_required=false&has_required_custom_question=false';document.getElementsByTagName('head')[0].appendChild(gl);</script>
  5. In the left-hand menu of the page in Squarespace, go to "Settings" and then "Advanced" and click "Code Injection" to paste the "script" code into the "Header" section.
  6. For Branded Donation Widgets, if the widget appears to be cut off after you paste in your code, refresh the page and the full widget should appear.

See above for an important note about digital wallets and widgets.

Embed a Simple or Branded Donation Widget on a Wix site

A note about payment methods: Both Apple Pay and Google Pay are never available as payment methods in widgets on websites hosted by Wix. 

To add a Simple Donation Widget, follow steps 1-5 above in the Embed a Simple Donation Widget on a website you host section at the top of this page before turning to the steps below.

To add a Branded Donation Widget, follow steps 1-4 above in the Embed a Branded Donation Widget on a website you host section near the top of this page before turning to the steps below.

  1. Click "Get Embed Code" and then select and copy the code in its entirety.
  2. Click here and follow the instructions provided by Wix.
  3. When editing your page, click the "Home Page Code" footer, which will bring up an HTML code editor. You should, by default, see the following code (if you have never edited this section before):

    $w.onReady(function () {
      //TODO: write your page related code here...
  4. Delete that code and paste in the following (if you've already embedded one widget on your Wix site, you will need to replace "html1" -- highlighted in bold in the first line below):
const GL_WIDGET_ID = "#html1";
import wixWindow from 'wix-window';
$w.onReady(function () {
  const glWidget = $w(GL_WIDGET_ID);
  glWidget.postMessage("is_wix");
  glWidget.onMessage((event) => {
      if (event.data === "is_wix") {
          glWidget.postMessage("is_wix");
      } else {
          const matches = event.data.match(/^wix:open_modal:(.*)$/);
          if (matches) {
              wixWindow.openModal(`${matches[1]}&show_close_button=false`, {
                  "width": 500,
                  "height": 650
              });
          }
      }
  });
});

Embed a Simple or Branded Donation Widget on a WordPress Site

To add a Simple Donation Widget, follow steps 1-5 above in the Embed a Simple Donation Widget on a website you host section at the top of this page before turning to the steps below.

To add a Branded Donation Widget, follow steps 1-4 above in the Embed a Branded Donation Widget on a website you host section near the top of this page before turning to the steps below.

  1. Click "Get Embed Code" and then select and copy the code in its entirety.
  2. Click here and follow WordPress's widget instructions.

See above for an important note about digital wallets and widgets.

Downloads

Get Inspired

No items found.