Google Analytics - Enhanced Ecommerce

Donate2 supports both Google Analytics Ecommerce and Enhanced Ecommerce. When you view your reporting in GA you will see Ecommerce events throughout your reports. You will see data in Realtime Reports, Behavior Reports, and most importantly in Reports >> Conversions >> Ecommerce.

In Shopping Behavior, you won't see any Product Views because Donate2 forms don't have any products to view. Add to Cart and the Checkout process both happen on form load. This is because there is no Checkout button. Donate2 forms have removed the barriers of multiple pages and clicks and puts the donor immediately in checkout process. All that remains for the donor to do is to make the payment.


To Setup Ecommerce

Go to Admin >> View >> Ecommerce Settings to adjust these settings

For clarity in your Checkout Behavior Report, you can enable Enhanced Ecommerce Reporting and label Funnel Step 1 to "Donate2 Form Load". 


By creating a Checkout Label for Funnel Step 1 you will see all Donate2 form loads appear in Step 1 of the Checkout Behavior Report.

In Product Performance Reports, you will find additional information. Since a Donate2 quantity is always 1, this column never changes. Refunds are not handled through the webs and therefore not recorded in Google Analytics. Basically, the first 4 columns will apply.

Technical Overview

When a Donate2 form loads, we send the following:
gtag('event', 'set_checkout_option', { 'checkout_step': '1' }); (Set checkout-funnel Step 1)
gtag('event', 'add_to_cart', {
                "event_label": "Donate2 Form Load",  (Hardcoded)
                "items": [
              {
                "id": "YeC7Wc",  (Form 6 Digit Code)
                "name": "Support Our Future Fund Demo",  (Form Name)
                "list_name": "Lobby QR Code",  (Source Code)
                "brand": "Donate2",  (Hardcoded)
                "category": "Donation",  (Hardcoded)
                "variant": "One-Time",  (Recurring Selection)
                "list_position": 1,  (Hardcoded)
                "quantity": 1,  (Hardcoded)
                "price": 100  (Default Ask)
              }
           ]
       });


When a Donate2 Payment is made, we send the following:

 gtag('event', 'purchase', {
         "transaction_id": pi_4H06N6xxfyjOsrF9ziN2tqX6 (Stripe Payment Intent)
         "affiliation": "Donate2", (Hardcoded)
         "value": 107.80,  (Actual Donation Charge Amount)
         "currency": "USD", (Determined by your Stripe Account)
         "tax": 0,  (Hardcoded)
         "shipping": 0,  (Hardcoded)
         "event_label": "Donate2 Donation",  (Hardcoded)
         "items": [
            {
                "id": "YeC7Wc", (Form 6 Digit Code)
                "name": "Support Our Future Fund Demo", (Form Name)
                "list_name": "Lobby QR Code", (Source Code)
                "brand": "Donate2",  (Hardcoded)
                "category": "Donation",  (Hardcoded)
                "variant": "One-Time", (For Recurring)
                "list_position": 1,  (Hardcoded)
                "quantity": 1,  (Hardcoded)
                "price": 100  (Default Ask)
            }
         ]
     });