Charitable Documentation

Learn how to make the most of Charitable with clear, step-by-step instructions.

How to Use Conversion Tracking in Charitable

Conversion Tracking sends native Meta Pixel, TikTok Pixel, and Google Tag Manager dataLayer events from your campaign pages, donation forms, and receipt pages. Every event carries full donation context, including amount, currency, campaign name, donation type, and payment method, so your ad platforms can optimize spend based on real fundraising outcomes.

Available with Charitable Pro 1.8.13.5+ or later on Pro, Agency, and Elite license plans.

Key Features

  • Fire Meta Pixel Purchase and Donate events on every confirmed donation
  • Fire TikTok Pixel CompletePayment events with full donation value and currency
  • Push rich donation data to window.dataLayer for Google Tag Manager and GA4
  • Track campaign page views and donation form opens as top-of-funnel events
  • Include donation amount, currency, campaign name, donation type, and payment method in every conversion
  • Respect visitor consent via the WP Consent API, with a filter hook for custom consent managers
  • Prevent duplicate conversions on receipt page refreshes using tab-scoped session tracking
  • Review tracking status for every donation inside the WordPress admin

Why Use Conversion Tracking?

Nonprofits running paid ads on Meta, TikTok, or through Google Tag Manager need accurate conversion attribution to optimize ad spend and prove ROI. Generic pixel plugins fire empty events that only tell the ad platform a “conversion” happened. Charitable Conversion Tracking sends the donation amount, currency, and campaign context that Meta and TikTok algorithms actually use to find more donors who will give. Your acquisition cost per donor drops. Your campaigns learn faster.

Requirements

  • Charitable Pro 1.8.13 or later
  • A Charitable Pro, Agency, or Elite license plan
  • WordPress 5.0 or later
  • PHP 7.2 or later
  • Optional: WP Consent API and a compatible consent management plugin, if you want pixels gated by visitor consent

Getting Started

Activation

  1. Download the Conversion Tracking addon from your Charitable account dashboard.
  2. In WordPress, go to Plugins > Add New > Upload Plugin and upload the ZIP file.
  3. Activate Charitable – Conversion Tracking.
  4. Go to Charitable > Settings > Advanced > Conversion Tracking to enter your pixel IDs.

Enter Your Pixel IDs

Each platform has a single ID field. Leaving a field empty disables that platform. No separate on/off toggle is needed.

Usage

Conversion Tracking runs automatically once pixel IDs are entered. There is no block or shortcode to place. The addon listens on three moments across your site:

  • Campaign page view. Fires when a visitor loads a single campaign page.
  • Donation form rendered. Fires when a donation form is displayed on any page.
  • Donation confirmed. Fires on the receipt page after a successful donation, for all gateways including Stripe, PayPal, Square, Braintree, Mollie, and Offline.

Configuration Options

Platform IDs

ParameterTypeDefaultDescription
meta_pixel_idstringemptyYour 15-digit Meta Pixel ID. Example: 123456789012345
tiktok_pixel_idstringemptyYour TikTok Pixel ID. Example: CXXXXXXXXXXXXXXX
gtm_container_idstringemptyYour GTM Container ID. Charitable pushes dataLayer events but does not load GTM itself. Install GTM through your theme or a separate plugin. Example: GTM-XXXXXXX

Tracking Behavior

ParameterTypeDefaultDescription
pixel_track_campaign_viewscheckboxonFire ViewContent and charitable_campaign_viewevents when a visitor loads a campaign page
pixel_track_form_openscheckboxonFire InitiateCheckout and charitable_initiate_checkout events when a donation form is rendered
pixel_consent_integrationcheckboxonCheck wp_has_consent( 'marketing' ) before firing any pixel

Event Reference

MomentMeta PixelTikTok PixelGTM dataLayer Event
Campaign page viewViewContentViewContentcharitable_campaign_view
Donation form renderedInitiateCheckoutInitiateCheckoutcharitable_initiate_checkout
Donation confirmedPurchase and DonateCompletePaymentcharitable_donation_complete

dataLayer Payload on Donation Complete

window.dataLayer.push({
  event: 'charitable_donation_complete',
  donationId: 8937,
  value: 28.87,
  currency: 'USD',
  campaignId: 7952,
  campaignName: 'Clean Water for Rural Communities',
  donationType: 'one-time',
  paymentMethod: 'stripe'
});

Customization

Multiple Campaigns in One Donation

When a donation covers more than one campaign, Conversion Tracking uses the campaign with the largest donation amount as the attribution target. The total value is the sum across all campaigns. Use the charitable_pixel_primary_campaign filter to override this selection.

Donation Statuses That Fire Conversions

By default, Conversion Tracking fires pixels for donations with charitable-completedcharitable-preapproved, and charitable-pending statuses. Use the charitable_pixel_fire_statuses filter to add or remove statuses.

Troubleshooting

No pixel events appear in Meta Events Manager or TikTok Events Manager

Check that the pixel ID field is populated for that platform and that your visitor has granted marketing consent (or that pixel_consent_integration is disabled). Open your browser DevTools Network tab on the receipt page and filter for fbevents.js or analytics.tiktok.com to confirm the pixel library loads.

GTM dataLayer events fire but GTM tags do not

Charitable pushes events to window.dataLayer but does not install the GTM container itself. Install GTM through your theme header or a dedicated GTM plugin. Confirm the container ID in GTM matches the ID entered in Conversion Tracking settings.

Receipt page events do not fire

Check the donation status. Offline donations that sit in charitable-pending without being manually approved will not fire pixels. Also confirm the donation passed through the receipt page rather than a custom thank-you redirect, since Conversion Tracking relies on the charitable_donation_receipt_page hook.

Conversion tracked twice when visitor refreshes receipt page

Conversion Tracking uses sessionStorage keyed by donation ID to prevent re-firing in the same browser tab. Opening the receipt URL in a new tab counts as a new session and will fire once, which is the expected behavior.

License inactive banner appears in admin

Confirm Charitable Pro is installed and activated, your license is on the Pro, Agency, or Elite plan, and the license has been entered and activated in Charitable > Settings > Licenses. Expired licenses have a 30-day grace period before delivery is blocked.

Developer Resources

Hooks and Filters

  • charitable_pixel_fire_statuses — array of donation statuses that allow pixels to fire
  • charitable_pixel_primary_campaign — override the campaign chosen for multi-campaign donations
  • charitable_pixel_consent_granted — fallback consent check when WP Consent API is unavailable
  • charitable_ajax_donation_response — added to Charitable Pro core; lets addons enrich the AJAX donation response for future Conversions API work

Donation Meta Keys

  • _charitable_pixel_tracking_status — trackedconsent_blockedstatus_blockedlicense_blocked, or not_configured
  • _charitable_pixel_tracked_at — Unix timestamp of the tracking event
  • _charitable_pixel_platforms — array of platforms that fired, e.g., ['meta', 'tiktok', 'gtm']
  • _charitable_pixel_event_id — unique event ID reserved for future Meta Conversions API deduplication

Consent Integration

Conversion Tracking reads consent through the WP Consent API when available:

if ( function_exists( 'wp_has_consent' ) ) {
    return (bool) wp_has_consent( 'marketing' );
}
return (bool) apply_filters( 'charitable_pixel_consent_granted', true, 'marketing' );

Sites without a consent manager fire pixels by default. Sites with a compatible consent plugin (CookieYes, Complianz, and others that implement the WP Consent API) have consent respected automatically.

Additional Resources

Still have questions? We’re here to help!

Last Modified:

What's New In Charitable

View The Latest Updates
🔔 Subscribe to get our latest updates
📧 Subscribe to Emails

Email Subscription

Join our Newsletter

We won’t spam you. We only send an email when we think it will genuinely help you. Unsubscribe at any time!

automation update

⚡ Visual Automation Builder: Drag and Drop With No Code!

Charitable Automation Connect 2.3.0 introduces the Visual Automation Builder, a full-screen canvas that lays each automation out as a flow of connected cards: a trigger, optional conditions, and a list of actions that run in order.

🧩 Many actions, one trigger: Tag a donor, send an email, add a note, and fire a webhook from a single event, dragged into any order.

✉️ Act inside Charitable: New Send Email, Tag Donor, and Add Donor Note actions run with no external service required.

🔤 Merge tags: Personalize emails and notes with live fields like {first_name}, {total}, and {campaign_name}.

🔁 Apply to existing donors: Run Tag Donor and Add Donor Note against the donors you already have.

🖥️ Canvas or Simple: Switch views anytime, and automations built before 2.3.0 keep working unchanged.

Read more here.

Integration updated

📬 Introducing Brevo for Charitable: Turn Donors into Subscribers Automatically

The moment a supporter makes a gift is when they are most engaged. With the new Brevo integration for Charitable, you can automatically turn those one-time donors into long-term subscribers without touching a single spreadsheet.

Simply collect donor consent right on your donation form and start your welcome series immediately.

What’s New:

🔄 Automated Subscriber Sync: New donors who opt in are added straight to your Brevo contact list as soon as their payment clears—no manual exports or CSV imports required.

🎯 Granular Consent & Opt-In Control: Customize your checkbox label, choose whether it defaults to checked or unchecked, or turn on Brevo double opt-in to keep your list clean and compliant.

📋 Per-Campaign List Mapping: Route supporters to your global email list or map specific campaigns to targeted Brevo lists to tailor your follow-up messaging.

⚡ 5-Minute Setup: Connect instantly by pasting your Brevo API key into the Newsletter settings, map your contact fields, and start building your email list on autopilot.

Ready to grow your mailing list? Brevo is available now starting on the Charitable Plus plan—connect your account today!

recurring donations updated

💳 Introducing Card Updates: Fix Expired Cards Without Losing Subscriptions!

newExpired or updated credit cards are one of the biggest silent leaks in recurring fundraising. With Card Updates in the Recurring Donations extension, donors can now refresh their payment details directly—keeping their subscription, schedule, and giving history completely intact.

No canceled plans, no lost history, and zero administrative headache for your team.

What’s New:

⚡ 30-Second Self-Service: Donors get a dedicated “Update Card” button in their dashboard that opens Stripe’s secure, PCI-compliant Customer Portal to update card details instantly.

🔒 Scoped & Safe Access: Scoped exclusively to card updates by default, donors can’t accidentally cancel or alter their plans from inside the portal, keeping your webhooks and data in sync.

🤝 Admin-Assisted Support: Helping a donor on the phone? Open their secure Stripe portal in one click from your admin screen or generate a single-use update link to email them.

📋 Automatic Audit Trail: Every payment method update is recorded automatically with a timestamp in both system-wide logs and the individual donor’s profile.

Ready to protect your recurring revenue? Get the Plus or Pro plan and update Recurring Donations to 2.3.0+ and enable “Update Payment Method” under your Settings today!

Integration page builder

Divi Fans Rejoice! Native Divi 5 Campaign Progress Bar Module!

With our new native Divi 5 module, you can anchor your microsites with real-time fundraising stats directly on the visual canvas. Here’s how it works, and why it’s worth turning on today.

Create campaign updates that are VISUAL AND LIVE. You can also:

📊 Campaign Progress Bar: Drop a live progress bar into any Divi 5 layout and show goal progress in real time.

🎨 Deep styling controls: Easily customize the bar and track color, height, and radius to match your brand perfectly.

👁️ Visual Builder ready: Configure and preview everything directly on the Divi canvas as a first-class module.

🔁 Identical rendering: The same exact engine powers this module, meaning consistent design without legacy shims.

✅ Faster launches: Never leave the Divi 5 interface to configure shortcodes or guess how your goal labels will look.

Learn more here.

Integration page builder

👉🏻 New in Charitable: Native Elementor Widgets for Seamless Campaign Building

With native Elementor widgets, you design donation campaigns right alongside the rest of your page without touching code. Here’s how it works, and why it’s worth turning on today.

Create fundraising pages that are VISUAL, NATIVE, AND SHORTCODE-FREE. You can also:

⚡ Mini Donation: Add a compact, high-converting donation widget with preset amounts and full color control.

⏳ Campaign Countdown: Build urgency for a deadline-driven appeal, complete with optional confetti when the goal is hit.

📣 Donation Feed: Prove momentum by showing visitors the social proof of real people giving right now.

🏆 Donor Leaderboard: Celebrate top supporters with gold, silver, and bronze styling to spark friendly giving.

🖼️ Campaign Showcase: Feature multiple campaigns in a landing page grid or carousel, with search, filters, and badges.

Learn more here.