How to Set Up Events and Conversions in Google Analytics 4

On July 1, 2023, Google Analytics 4 (GA4) is replacing Universal Analytics(UA), the existing version of Google Analytics. Google is retiring Universal Analytics and it will stop processing data. After July 1, only Google Analytics 4 will collect and process data from your website or app. Google Analytics 4 should be set up now along with events and conversions.

Google Analytics 4 collects and tracks data differently from Universal Analytics. Google Analytics 4 should be set up to collect website data in parallel with Universal Analytics for an easy transition. In March, Google will start setting up a basic GA4 account in your Analytics account unless you opt out.

I covered How to Set Up Google Analytics 4 for Your Website in my previous blog post.

Once you have Google Analytics 4 set up in your Analytics Account and the global site tag added to your website, you can set up events and conversions in your GA4 account.

In this post, I discuss how to set up events and conversions directly using the GA4 User Interface. This method does not use the Google Tag Manager which makes it simpler.

What are Events and Conversions in GA4? How are they different from Universal Analytics?

Google Analytics 4 collects and tracks website and app data differently from Universal Analytics. GA4 is built for privacy and is driven by events.

  • Hits are Replaced by Events in GA4

    In the existing version of Google Analytics, Universal Analytics (UA), all data collected from your website was session-based. Each session consisted of “hits” that were measured by a category, action and label. For example, pageview hits.

    In contrast, Google Analytics 4 is totally event-driven. All “hits” and all actions are considered events which are measured by parameters. For example, page_view event with page URL as a parameter.

  • Goals are Replaced by Conversion Events in GA4

    In Universal Analytics, you had to define goals that you wanted to consider as conversions. This included event goals, destination goals, duration goals and pages/screens per session.

    In Google Analytics 4, conversion events replace goals. Events that need to be considered as conversions must be specified as conversion events and are based on the event_name.

How to Set Up Events and Conversions in Google Analytics 4 directly in the User interface (without Google Tag Manager)

In Google Analytics 4, it is possible to set up events and conversions directly in the GA4 user interface. This method does not use Google Tag Manager.

Before setting up events and conversions, you must have Google Analytics 4 set up in your account and the GA4 code added to your website. For more information, read our post on What is Google Analytic 4? Plus How to Set Up Google Analytics 4 for Your Website

Once you have Google Analytics 4 set up in your account, you can follow these steps to create a Google Analytics 4 event and mark it as a conversion:

Step 1: Create an Event

1. log into your Google Analytics account
2. In the property column, make sure you select your Google Analytics 4 account.
3. Select Events in the GA4 property column

How to select Events in the Google Analytics 4 property

figure: Select Events in GA4 property

4. Click on Create Event

Create an event in the Google Analytics 4 events screen..

figure: GA4 Events Screen

5. Under Custom Events, click Create

Create a custom event in Google Analytics 4.

figure: GA4 Create Events Screen

Step 2: Configure the Event

The next step is to configure your event.

In my example below, I configure an event for newsletter signups. I have used the newsletter confirmation page as one of the specific conditions for the event.

1. Enter the custom event name, in my example I enter newsletter_signup
2. Enter the matching conditions

  • a) For the first condition, since this is a page_view event, I enter:
    parameter: event_name
    operator: equals
    value: page_view
  • b) For the second condition, I enter the specific page for the event:
    parameter: page_location
    operator: contains
    value: https://example.com/newsletter-confirmation

3. Enter Parameter configuration

  • a) If you want the same parameters as the original page_view event, just check the box to Copy parameters from the source event
  • b) If you want to modify the parameters, enter the parameter values.

4. Click Create

How to configure an event in the Google Analytics 4 events screen.

figure: GA4 Events Configuration Screen

Step 3: Test the Event to see if it works correctly

To test my newsletter_signup event, I visit my website and fill out and submit my newsletter signup form. I then confirm my subscription to get to the newsletter-confirmation page. This should fire the event for newsletter_signup.

1. To test if the event fired, I go to the Google Analytics 4 Realtime report and check to see if the event has been recorded.
2. I see the newsletter_signup event in the Realtime report and that confirms that the event is working correctly.

Realtime report in Google Analytics 4

figure: GA4 Realtime Report

Step 4: Mark the event as a conversion

1. Go to Admin
2. In the GA4 property column, click on Conversions
3. Click on New conversion event
4. Under New event name, enter exactly the same name you used for your event. For my example, I enter newsletter_signup
5. Click Save

Note: In standard Google Analytics 4 accounts, only 30 conversion events can be set up per GA4 property.

How to add a conversion event in Google Analytics 4

figure: GA4 Conversions Screen

Congratulations! Your new event and conversion are now set up in Google Analytics 4.

Conversion Reports

To view the conversion events in the conversion reports in Google Analytics 4,

Go to Reports > Lifecycle >Engagement > Conversions

The Conversions report will show the conversion event name along with the total number of conversions.

Conclusion

Google has announced that Universal Analytics will be retired on July 1, 2023, and will stop collecting data on that date. To continue collecting and tracking data from your website, Google Analytics 4 should be set up now to begin collecting data in parallel with Universal Analytics.

Unlike Universal Analytics that was based on hits, Google Analytics 4 is driven by events. All the goals that were used in Universal Analytics to flag conversions are replaced by conversion events in GA4.

After you install GA4 on your website, you should set up events and conversions to start tracking and collecting your website events and conversions.

We hope you found this article helpful in setting up GA4 events and conversions. Check back soon for more articles on GA4.

Need Help with Digital Marketing and Google Analytics?

Gold Mango Design LLC. helps businesses succeed with digital marketing strategies. Our digital marketing services include Google Ads PPC Marketing, SEO, Web Design & Web Development, Google Analytics, Digital Marketing consulting and more. We are located in Plano, TX right outside Dallas and serve customers in the USA. Contact us for help with digital marketing.

Related Articles on Google Analytics & SEO