Tracking donations with Google Analytics

Updated 3 months ago

help_outline Using Google Analytics 4? Read about Beacon's support for Google Analytics 4.

Beacon makes it easy to take donations online via popular payment methods like credit cards, PayPal, and Apple Pay. When donations are made, they're automatically saved into Beacon for you to generate charts from.

However, how can you track where the donations come from? Enter Google Analytics - a fantastic (free) tool for tracking the success of your marketing campaigns. It helps you answer questions like:

  • Which marketing channels drive the most revenue?
  • Which emails are the most successful at driving donations?
  • Which Google ads provide the best ROI?

Screenshot 2018-11-09 at 10.16.51

Google Analytics helps you move on from numbers that don't matter (like open rates, click throughs) and focus on what matters - money donated to your end cause, and how you can attract more of it.

link Set up Google Analytics with Beacon

  1. Go to Settings > Charity Preferences

  2. Paste your Google Analytics Property ID into the Google Analytics field (you can find this in Google Analytics > Admin > Tracking code.

Screenshot 2018-11-09 at 10.43.29

  1. Enable ecommerce tracking in the Ecommerce Settings page of Google Analytics

Screenshot 2018-11-09 at 10.43.41

  1. To ensure that sessions are tracked correctly in Google analytics, you will need to add the following domains to your referral exclusions list in Google Analytics:, and your website domain.

  2. When new donations are made, they will automatically start appearing in your Google Analytics > Conversions > Ecommerce transactions list:

Screenshot 2018-11-09 at 10.48.59

error_outline Important: the steps above will allow donations to be tracked in Google Analytics correctly, but they won't have sources correctly attributed to them - because Beacon forms run on a separate domain to your website.

To resolve this, ask your web developer to add the Beacon tracking code below to every page of your website.

<script type="text/javascript">
  (function (d, id) {
    if (d.getElementById(id)) {
    var js = d.createElement('script'); = id;
    js.src = '';
  }(document, 'beacon-js-sdk'));

link Support for Google Analytics 4

Currently, Beacon's Google Analytics integration automatically builds on Universal Analytics, specifically the analytics.js tracking code.

We don't currently support Google Analytics 4 tracking (via gtag.js), but we plan to support this in the future!

If you're upgrading to Google Analytics 4, but have existing tracking codes running on your website, you can connect the existing tracker to your Google Analytics 4 property:

Screenshot 2021-06-26 at 08.38.49

In Beacon, you can then add your existing Universal Analytics tracking ID (UA-XXXX).


Contact Us

It'd be great to hear from you! To reach out, fill in your details below and we'll get back to you.


Register for webinar

To join this webinar, please enter your details below and we'll send you details on how to join.