Prerequisites
Before you begin, you’ll need:- An active Givebutter account
- A campaign set up in your Givebutter Dashboard
- Access to edit your website’s HTML
Installing the Widgets Library
Installing Widgets is fast and easy. Simply add the following code snippet inside the<head></head> tag of your website and we’ll take care of the rest.
Replace
YOUR_ACCOUNT_ID with your Account ID from your Givebutter Dashboard. We recommend
including the code snippet on every page of your site for consistent tracking and analytics.Finding Your Account ID
To find your Account ID:- Log in to your Givebutter Dashboard
- Navigate to Settings > Integrations
- Look for your Account ID in the Widgets section
- Copy and paste it into the script tag above
Embedding Widgets
Once you’ve installed the Widgets library, you can embed widgets anywhere on your website:- Button Widget - A customizable button that opens a donation popup
- Form Widget - An inline donation form embedded on your page
- Goal Bar Widget - A progress bar showing campaign fundraising status
- Signup Form Widget - A form to capture email subscribers
Quick Setup (Dashboard)
- Go to your campaign’s Sharing → Widgets in the Givebutter Dashboard
- Select the widget type and customize settings
- Copy the generated code and paste it on your website
Manual Setup
For more control, use the specific widget tags with your campaign code:Finding Your Campaign Code
Your Campaign Code is a unique identifier for each campaign:- Go to your campaign in the Dashboard
- Look at the top section near the title
- The Campaign Code is the six-character text
- Use this code in your widget tags
Next Steps
Now that you’ve installed the Widgets library, explore the different widget types to find the best fit for your fundraising needs:- Button Widget - Perfect for adding donate buttons anywhere on your site
- Form Widget - Embed a full donation form directly on your page
- Goal Bar Widget - Show campaign progress to motivate donors
- Signup Form Widget - Grow your email list with a simple signup form