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!

New templates

🤩 New Beacon Campaign Templates w/ “Hero” Block!

With the new Beacon Campaign Templates for Charitable Pro, you can launch a stunning, full-width fundraising page that instantly captures visitor attention above the fold.

Fundraising page header for Save Maple Grove Park with a donation widget and a small square photo of a sunlit tree thumbnail on the left.

🔦 Above-the-Fold Impact: Lead with a full-width hero image, your logo, and your goal with a donation widget locked right on top of the banner so your ask and momentum register instantly without scrolling.

📐 Two Flexible Layouts: Choose between a structured two-column layout for side-by-side storytelling and supporting details, or a clean one-column view designed for uninterrupted long-form narratives.

⚡ All-in-One Hero Field: Powered by the new Campaign Hero field, bringing background media, live progress bars, custom donation amounts, and recurring giving tabs together into a single cohesive block that can be dropped into any layout.

🎨 Automatic Theme Matching: The hero banner and donation widget automatically inherit your campaign theme’s button and accent colors, ensuring your entire presentation stays beautifully on-brand without touching a line of CSS.

Learn more here.

donation form Feature New

📝 Donation Form Block: Embed a Working Donation Form Anywhere

With the new Donation Form Block for Charitable Pro, you can drop a fully working donation form directly onto any page or post in the WordPress block editor. No redirects, no page reloads, and zero friction between reading your story and making a contribution.

📝 Drop Forms Anywhere: Place a working form directly onto your homepage, inside a story-driven blog post, on a dedicated landing page, or within a campaign announcement.

🎯 Dynamic Campaign Binding: Easily choose a specific campaign from the block sidebar or set it to automatically bind to whichever campaign is currently being viewed.

📐 Full vs. Minimal Form Views: Switch between a full layout or a compact minimal view to perfectly fit sidebars, narrow columns, or wide landing pages.

🎨 Scoped No-Code Styling: Customize typography, container spacing, border radius, amount buttons, and accent colors independently for every form instance without touching a line of CSS.

Learn more here.

ambassadors New

👤 Creator Profiles: Put a Face to Every Peer-to-Peer Campaign

Ambassadors 3.3.0 now provies Creator Profiles — giving your supporters a permanent, shareable public home that turns one-time fundraisers into ongoing relationships.

👤 Public Creator Pages: Give every fundraiser an instant, clean landing page at /creator/their-name/ to showcase their custom avatar, bio, and a browsable grid of their campaigns.

📊 Proof of Impact: Boost donor trust by displaying site-wide milestones on the profile—like total funds raised and total donor counts.

💳 Interactive Hover Cards: When donors hover over a creator’s name on a campaign page, a compact card expands with their bio and social handles right at the moment of decision.

📍 Responsible Location Sharing: Allow creators to safely show local supporters where they are based using only city, state, and country details.

🛠️ Self-Serve Customization: Fundraisers can update their own profiles and link up to six social networks directly from the My Campaigns hub, saving you admin time.

Ready to empower your advocates? Update to Ambassadors 3.3.0 and turn on “Enable Public Creator Page” today!

Improvement Payments

📱 Turn Mobile Scrollers Into Donors: Meet Charitable’s Mollie Upgrade

Losing mobile supporters because they hate typing out long card numbers on their phones? Charitable’s updated Mollie integration features:

⚡ One-Tap Wallet Checkout: Enable donors to complete their gifts instantly using Apple Pay or Google Pay with a simple face scan, fingerprint, or tap.

💰 No Extra PCI Burden: Skip complex domain verification and security compliance since all wallet transactions run safely through Mollie’s hosted checkout.

🛠️ Custom Cancel Routing: Keep the experience predictable by automatically sending donors who back out to your cancellation page, or use developer filters to route them to a custom page.

Visit this page to learn more.

ambassadors improved New

Moderation and Directory Screens In Ambassadors 3.0

Ambassadors 3.0 has new features: moderation and directory screens… now easily see those who are earning donations on your peer to peer network – including campaign creators that might need to be verified – all in one place. Generate reports, email ambassadors and campaign creators directly and more.

🚀 See when campaign creators and ambassadors have updated their campaigns, what donors/donation they have brought in and more.

🎉 Manually add ambassadors and campaign creators, and approve them in one-click!

Visit this page to learn more.