Do you need a cookie consent banner on your nonprofit’s WordPress site, and want to make sure it plays nicely with your donation forms?
I set this up on a test donation site using WPConsent and Charitable, and WPConsent’s setup wizard itself takes about 2 minutes. In this guide,
I’ll walk you through every screen, from the first scan to a donation form that waits for your donor’s choice before any ad tracking runs.
Here’s a sneakpeek of what the consent banner looks like:

In This Guide
Why Donation Sites Need Cookie Consent
A cookie is a small file a website saves in the visitor’s browser. Some cookies keep a site working, like the one that keeps you logged in. Others track what a visitor does so an ad platform can measure results or show them ads later.
Many privacy laws treat those 2 kinds very differently. In the EU and the UK, the general expectation is that a site asks before it sets tracking cookies. The UK’s privacy regulator explains this well in its guidance on cookies and similar technologies.
California’s rules lean the other way, toward letting people opt out. Other countries have their own versions again.
I’m not a lawyer, and I won’t pretend this guide is legal advice. If your nonprofit takes donations from several countries, a quick chat with whoever helps with your privacy policy can tell you which rules apply to you. What I can show you is how to put the tools in place so you’re ready for whatever they tell you.
There’s also a trust reason that has nothing to do with the law. A donor on your form is about to hand over money and a home address. A clear banner that lets them say no to tracking tells them you take their data seriously, and that’s the same message your whole donation page is trying to send.
So the next question is what exactly is running on your donation page that a banner needs to control.
What a Donation Page Loads in the Background
A shop page usually runs a payment script and maybe an analytics tag. A donation page often runs more, because nonprofits lean on ads and analytics to find new supporters.
Here’s what you’ll commonly find on a WordPress donation site.
- Login and session cookies: WordPress sets these when a donor logs in to see past gifts. These keep the site working.
- Payment gateway scripts: Gateways like Stripe and PayPal load their own scripts on the form, often to check for fraud.
- Analytics: Google Analytics tells you which campaigns bring donors in. Charitable’s Google Analytics feature can send every donation into your reports.
- Ad pixels: The Meta Pixel and the TikTok Pixel report donations back to your ad accounts so the platforms can find more people like your donors.
- Embeds: A YouTube video on your campaign page or a Google Map on your event page can set cookies too.
Whether a payment gateway’s cookies count as essential is one of those questions to ask your privacy adviser. WPConsent doesn’t block Stripe, PayPal or Square by default, so your donation form keeps working when a donor clicks Reject.
The ad pixels are the clear case. They’re used for marketing, so they’re the ones a consent banner most needs to hold back until the donor agrees.
A banner on its own doesn’t stop anything, though. Something has to actually block those scripts until the donor clicks Accept, and your donation plugin has to listen to that choice.
How Charitable Fits In
For the banner itself, I use WPConsent. It’s the best WordPress cookie consent plugin, and it’s what runs the banner on wpcharitable.com right now.

WPConsent scans your site, writes your cookie policy and blocks known tracking scripts until a visitor agrees. Your settings and consent records are stored on your own site rather than on an outside consent service.
Charitable is the donation side. It’s a WordPress donation plugin used by 10,000+ nonprofits, and it’s built to work with a consent plugin rather than around it.
Here’s what Charitable does for privacy on a donation site.
- Your donor data stays on your site: Donations and donor records live in your own WordPress database, not on a third-party platform.
- Donors stay on your page: The form sits on your own site, so your consent banner covers the whole giving journey.
- A Privacy Compliance screen: Under Charitable » Privacy Compliance, Charitable points you straight to WPConsent setup.
- Personal data tools: Charitable works with WordPress’s own data export and erase tools, and lets you keep donation records you’re required to hold for tax purposes. The Charitable user privacy guide covers the settings.
- Consent-aware ad tracking: Charitable’s Conversion Tracking feature reports donations to Meta and TikTok, and waits for marketing consent before it loads their pixels.
- No developer needed: Every step in this guide is point and click.
If you’re just getting started, you can start with Charitable Lite. The free plugin gives you donation forms and campaign pages, and the WPConsent banner works in front of them the same way.
Conversion Tracking is part of the Charitable Pro plugin, on the Pro plan and higher. You can compare what each plan includes on the Charitable Lite vs Pro page, and every paid plan comes with a 14-day money-back guarantee.
Get Charitable risk-free with a 14-day money-back guarantee »
Getting Started Is Simple
Here’s the whole setup at a glance before we go screen by screen.
- Install Charitable and create your donation campaign.
- Install WPConsent and run its setup wizard.
- Customize your banner and generate your cookie policy.
- Connect Charitable’s Conversion Tracking to your visitors’ consent.
- Test it as a donor and launch.
If you don’t have a campaign yet, my guide on how to create a donation form gets you there first.
How to Set Up Cookie Consent Step by Step (Code-Free)
I’m using WPConsent’s paid version here, because it adds consent logs and region-based banners that many nonprofits will want.
There’s also a free version of WPConsent on WordPress.org with the banner, the scanner, script blocking and the cookie policy page, so you can follow most of these steps with it too.
Step 1: Install and Activate WPConsent
After you buy a plan, download the plugin zip from your WPConsent account. To install it, head over to Plugins » Add Plugin » Upload Plugin, choose the zip file and click Install Now.
Once it’s activated, enter your license key under WPConsent » Settings so you get updates and the paid features.

Step 2: Start the Setup Wizard
WPConsent opens a welcome screen the first time you visit WPConsent » Dashboard. Click Let’s Get Started to launch the guided setup.
If you skip it by accident, there’s a Run the Setup Wizard button on the dashboard to bring it back.

Step 3: Scan Your Website
The first step of the wizard is a privacy scan. Click Scan Your Website, and WPConsent checks your pages for cookies and tracking scripts.
The scan took under a minute on my test site. The note under the button explains that page data is sent to WPConsent’s service to identify each cookie.

Step 4: Review the Scan Results and Auto-Configure
Next you’ll see every service WPConsent found, with a short description of what its cookies do. Leave the services you want documented ticked.
Make sure “Prevent known scripts from adding cookies before consent is given” stays ticked. This is the setting that holds tracking scripts back until a donor agrees. Then click Auto-Configure Selected.

Step 5: Choose Your Banner Layout and Position
The next step of the wizard is the banner’s look. You can pick a Long Banner across the page, a Floating Banner in the corner, or a Modal Banner in the middle of the screen. The Modal Banner is part of WPConsent’s paid version.
I went with a Long Banner at the bottom. It stays out of the way of the donation amount field while still being impossible to miss.

Step 6: Preview and Finish the Wizard
Scroll down to see a live preview of your banner. When you’re happy with it, click Save & Complete Setup.

You’ll land back on the WPConsent dashboard, where the Site Consent Health score shows what’s done and what’s left. Mine went from 9% before the wizard to 59% straight after it, and to 82% once I’d finished the steps below.

Step 7: Check That the Banner and Script Blocking Are On
To double-check the wizard’s work, go to WPConsent » Settings and look under Cookies Configuration. Consent Banner and Script Blocking should both be switched on.
Leave Default Allow off. With it off, scripts are blocked until a visitor says yes, which is the opt-in approach many privacy rules expect.

Step 8: Rewrite the Banner Message for Donors
The default message reads “We use cookies to improve your experience on our site. By using our site, you consent to cookies.” Your banner gives visitors a real Reject button, so it makes sense for the words to say they have a choice.
To change it, head over to WPConsent » Banner Design and open the Content tab. You can edit the message and the text on each button there.

Here’s a message you could start from and adjust for your own organization.
We use cookies to keep this site working and, if you agree, to see which of our campaigns reach new supporters. You can accept, reject, or choose which ones to allow.
Step 9: Generate Your Cookie Policy Page
Your banner should link to a page that explains each cookie. To create one, go to WPConsent » Settings, find Cookie Policy and click Generate Cookie Policy Page.

WPConsent builds the page with default text and a shortcode. The shortcode lists every cookie you’ve documented, so the table stays up to date when you scan again.

Read the default text through before you publish it. It’s a solid starting point, but it should describe your organization in your own words.
Step 10: Turn On Consent Logs
Consent logs keep a record of what each visitor chose and when. If anyone ever asks how you collect consent, this is the record you’d show them.
To switch them on, go to WPConsent » Settings, scroll to Consent Logs and switch it on. This is one of the paid features. You’ll find the records later under WPConsent » Consent Logs.

Step 11: Install the WP Consent API Plugin
This free plugin is what lets your donation plugin hear your donor’s choice. The WP Consent API is a shared standard, so any plugin that supports it can ask “has this visitor allowed marketing cookies?”
To add it, go to Plugins » Add Plugin, search for “WP Consent API”, then install and activate it. There’s nothing to set up, because WPConsent connects to it on its own.

Step 12: Connect Charitable’s Conversion Tracking to Consent
If you run ads on Meta or TikTok, Charitable’s Conversion Tracking feature reports each donation back to them with the amount and the campaign. You can read how it works in the Conversion Tracking announcement.
To add it, go to Charitable » Addons, find Conversion Tracking and click Install Addon.

Then head over to Charitable » Settings » Marketing » Conversion Tracking and paste in your Meta Pixel ID or TikTok Pixel ID.
Under Advanced, make sure Enable WP Consent API integration is switched on. It’s on by default. With it on, Charitable won’t load your Meta or TikTok pixel until the visitor grants marketing consent in your WPConsent banner.

There’s also a field for a Google Tag Manager container ID. Charitable sends your donation events to Tag Manager, but it doesn’t load Tag Manager for you.
So if you use Tag Manager, its own consent settings decide when its tags run. You’d set those up with Google Consent Mode inside Tag Manager.
The full list of settings is in the Conversion Tracking documentation. If you’d like an overview of ads first, my guide to Facebook ads for nonprofits covers it.
Get Conversion Tracking on the Pro plan, risk-free for 14 days »
How to Check It’s Working
The last job is to visit your donation form the way a new donor would. Open it in a private browser window, so you arrive without any saved choices.
Your banner should appear at the bottom of the form.

Next, click Preferences to check the panel your donors will see. They can open each category, read what it covers and save their choice.

Next, check that your donor’s choice is reaching the WP Consent API, because that’s what Charitable reads. Here’s how to see it in your browser.
- To start, click Reject on the banner and reload the page.
- Then open your browser’s developer tools and go to the list of cookies for your site. In Chrome, that’s under Application » Cookies.
- Look for a cookie called
wp_consent_marketing. After Reject, its value should bedeny. - Now open a new private window, click Accept All and check again. This time the value should be
allow.
If you’ve added a pixel ID in Conversion Tracking, you can also watch the pixel itself. Here’s the quick test I use.
- To start, open your browser’s developer tools and click the Network tab.
- Type
fbevents.jsinto the filter box. For TikTok, useanalytics.tiktok.com. - Now click Reject on the banner and reload the page. Nothing should appear in the list.
- After that, open a new private window, click Accept All and reload. This time the pixel file should load.
If the pixel never loads, even after Accept All, check that your pixel ID is saved and that the WP Consent API plugin is active.
If your form uses reCAPTCHA, make one more check. When WPConsent’s Content Blocking setting is on, Recaptcha is ticked in its list by default, and donors who click Reject see an empty CAPTCHA box. Untick Recaptcha there, then make a test donation after clicking Reject.
Tips for Keeping Your Banner Donor-Friendly
Once the basics are in place, a few small choices make a big difference to how the banner feels on a giving page.
Keep the Banner Away From the Donate Button
Preview your banner on a phone. If a Modal Banner or a tall Floating Banner covers the amount field or the Donate button, switch to a Long Banner at the top or bottom.
Donors who can’t see the form tend to leave rather than hunt for it. My guide on how to stop donors from abandoning the donation form has more on this.
Scan Again After Every Change
New embeds, a new gateway or a new tracking tool can all add cookies. Run a fresh scan from WPConsent » Scanner after you change your site, or switch on Auto-Scanning in the paid version so it checks for you.
A scan can’t see inside other plugins’ files, so repeat the Reject test whenever you add a plugin that tracks donors.
Show the Right Banner in Each Region
If your supporters come from several countries, WPConsent’s paid version can show a different banner by location under WPConsent » Geolocation. That way a donor in Germany and a donor in California can each see the version that fits their rules.
Once you add location rules, visitors from regions you haven’t listed may see no banner at all, and their scripts won’t be blocked. Add a location group for every region that should see the banner.
Add a Way to Change Their Mind
A donor who clicked Reject might want to say yes later, or the other way round. Turn on the Settings Button under WPConsent » Settings to show a small floating button that reopens the preferences panel.
FAQs on WordPress Cookie Consent
Do I need a cookie consent banner if my nonprofit is in the US?
It depends on where your donors are, not only where you’re based. If you get donors from the EU or the UK, a privacy adviser can tell you what those rules expect of you.
Will a cookie banner lower my donations?
The banner doesn’t block the form, so donors can give whatever they choose. Keeping it small and away from the Donate button is the best way to protect your conversion rate. You will see fewer donations in your ad reports, because donors who click Reject aren’t tracked.
Does Charitable work with the free version of WPConsent?
Yes. The free version includes the banner, script blocking and WP Consent API support, so Charitable’s Conversion Tracking can read consent from it too.
Does Charitable Lite include Conversion Tracking?
No. Conversion Tracking is in the Charitable Pro plugin, on the Pro plan and higher. Your WPConsent banner still works in front of Charitable Lite donation forms.
What happens if a donor ignores the banner?
With Default Allow switched off, blocked scripts stay blocked until the donor makes a choice. They can still fill in the form and donate.
Do I still need a privacy policy if I have a cookie policy?
Yes, they cover different things. The cookie policy lists your cookies, while your privacy policy explains how you handle donor data in general. WordPress has a privacy policy page tool, and Charitable adds suggested text to it.
Give Donors a Choice They Can Trust
Your donors already trust you with their money. A clear banner, an honest cookie policy and ad tracking that waits for a yes show them you’ll look after their data too.
If you’re ready to build donation pages that respect your supporters, you can start with Charitable Lite today. When you want Conversion Tracking and the rest of the paid features, every plan comes with a 14-day money-back guarantee.
Get Charitable now, risk-free for 14 days »
Charitable Has 1.2+ Million Downloads!
Trusted by millions to power successful fundraising campaigns. Try Charitable risk-free today.
✅ 14-day money-back guarantee
✅ Transparent pricing
✅ Code-free setup
Stay Connected for More Nonprofit Resources
For more tutorials and videos tailored to nonprofits, subscribe to our YouTube channel. We regularly publish expert tips, step-by-step guides on online donations, fundraising strategies, and practical resources to help your organization succeed.
🗞️ Get weekly tips and exclusive guides in your inbox
Join our newsletter →
🎥 Watch step-by-step tutorials and success stories
Subscribe to our YouTube channel →
👩🏽💻 Connect with our community and get daily nonprofit insights
Follow us on LinkedIn →
🥳 Fun reels and non-profit insights
Follow us on Instagram →
👀 Insightful & fun videos to help you grow your cause
Follow us on TikTok→
🌎 Subscribe and follow for general fundraiser tips
Get Fundraiser Tips on TikTok →
Powerful Fundraising Resources
🤖 Use Charitable with Your AI Assistant
⬇️ Download proven strategies, campaign ideas, and expert tools
Get the Fundraising Kit →
💸 Get Free Fundraising Resources
Head to the Charitable Fundraising Hub →
🤔 Got questions about Charitable?
Charitable FAQs →
🏎️ Take Charitable for a spin
Create your Charitable Demo →
Understand non-profit terms and jargon
Non-Profit Glossary →
% Looking for non-profit deals and discounts?
Best Non-Profit Deals and Discounts →








Leave a Reply