Google Analytics - Enhanced Ecommerce

We 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 our 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. Our forms have removed the barriers of multiple pages and clicks and puts the customer immediately in checkout process. All that remains for the customer 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 "2 Form Load". 


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

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

Technical Overview

When a 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",  (Donate2 or Stream2)
                "items": [
              {
                "id": "YeC7Wc",  (Form 6 Digit Code)
                "name": "Support Our Future Fund Demo",  (Form Name)
                "list_name": "Lobby QR Code",  (Source Code)
                "brand": "Donate2",  (Donate2 or Stream2)
                "category": "Donation",  (Donation or Purchase)
                "variant": "One-Time",  (Recurring Selection)
                "list_position": 1,  (1 or Button Number 1,2,3,4...)
                "quantity": 1,  (1)
                "price": 100  (Default Amount)
              }
           ]
       });


When Payment is made, we send the following:

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