Log in to Google Analytics (https://analytics.google.com/analytics/web/) and navigate to the Google Analytics account with which you want to integrate the donation form.
Click on Admin in the left-hand menu.
Click on Tracking Info and then select Tracking Code.
Copy the Global Site Tag (gtag.js) script.
If you want to enable Enhanced Ecommerce Tracking, follow this guide.
Go to the Donorbox campaign editor for which you wish to enable Google Analytics Tracking.
Click on the Tracking tab and paste in the tracking code on the Google Analytics dashboard (in step 4), as shown below.
7. Click Update & Preview or Save & Next. Your campaign form is now enabled for tracking visits in your Google Analytics.
To verify that the analytics tracking code is installed correctly:
On your Google Chrome browser, install the Tag Assistant plugin (by Google) from here: https://chrome.google.com/webstore/detail/tag-assistant-by-google/kejbdjndbnbjgmefkgdddjlbokphdefk
Go to the campaign (for which the tracking code is set up) donation page on your Google Chrome browser.
Click on the Tag Assistant plugin icon on your browser.
You should see something similar to the image below. Ensure the correct tracking ID's are being displayed in the results window.