Skip to main content
All CollectionsHelp ArticlesHighlight your fundraising efforts through your Giving DayBest Practices
How do I create and embed a Giving Day donation button on my website?
How do I create and embed a Giving Day donation button on my website?

Learn how to customize, brand, and implement a button for your organization's own website that donors can use on your own Giving Day!

Bekah K. avatar
Written by Bekah K.
Updated over a year ago

Step 1: Navigate to Your Admin Dashboard

If your home page is not your admin dashboard, click on the drop down box at the bottom of the screen next to “Viewing Dashboard For” to view a list of organizations that you are an administrator for. Click on the name of your organization you’d like to access.

Step 2: Navigate to your Giving Day Dashboard

From the “Giving Days"  section on your Admin dashboard, select the Giving Day that you would like to view. 

Step 3: Customize Your Button

While on your Giving Day dashboard, you'll see an option in the right-hand bar, called "Embed a Donate Button". Select this option. 

After making that selection, you'll be brought to a page where you can customize the button's call to action, then even select the color of the button. This is a great opportunity to make it clear to donors exactly what their gift will go towards.

Step 4: Embedding the Button Into Your Site

Based on the type of site you have, there are different ways to approach implementation. Below is a quick-guide based on some types of sites you might have!

Standard HTML Sites: Simply copy and paste the code directly into the HTML of your site. We recommend pasting a snippet inside any block-level HTML element, including but not limited to:

•<body>...</body> •<div>...</div> •<span>...</span>

•<td>...</td> •<p>...</p>

Be sure to follow the guidelines for valid HTML (http://validator.w3.org/docs/help.html), including the closing of all tags.

WordPress

Embedding a snippet in a Sidebar Widget (v2.8 and greater)

If you would like the Giving Day to donate button to appear in the sidebar on every page of your WordPress blog, we recommend adding the code snippet in a Text sidebar widget. Once you are logged into your WordPress blog dashboard, you'll need to do the following:

  1. Click the ‘Widgets’ link from the ‘Appearance’ tab in version 2.8 or higher

  2. Next, drag a Text widget from the list of Available Widgets into the Sidebar set of widgets of your choosing

  3. Next, paste the Giving Day form snippet into the body of the newly added Text widget and click ‘Save’

To use this widget on WordPress, you will need to have a business plan subscription with WordPress. Javascript is not supported on free WordPress sites.

Embedding a snippet in a Theme Layout

If you would like your Giving Day widget to appear on every page of your WordPress blog, we recommend adding the snippet to your blog’s Theme using a custom template. Once you are logged into your WordPress blog dashboard:

  1. Click the ‘Editor’ link from the ‘Appearance’ tab in version 2.8 or higher. In version 2.7, click the ‘Theme Editor’ link from the ‘Design’ tab

  2. Next, select the template you wish to add the snippet to from the list of templates. For example, if you wish to have the Giving Day button displayed in your blog’s sidebar, select the "Sidebar.php" template

  3. Next, paste the Giving Day code snippet into the template file’s code

  4. Click ‘Update File’

Embedding a snippet in an individual post

If you would like your Giving Day button to appear on a single post on your blog, load the ‘Edit’ screen for the post you wish to use. Next, simply paste the snippet into the ‘HTML’ content tab, then click ‘Publish’ or ‘Save Draft’.

NOTE: if your WordPress version is 2.6 or earlier, you may need to add a </p> tag before the snippet and a <p> after it, with no line breaks.

If you have any questions, feel free to reach out to our customer success team via the blue chat bubble on the bottom right of the screen, or send us an email at customersuccess@givegab.com.

Did this answer your question?