Google Analytics Goals In GA4: How Key Events Replaced Them

Google Analytics 4 replaced Universal Analytics goals with key events. A key event is an event that measures an action important to your business, and marking it as a key event makes it appear in your reports as a key event. This shift moves goal tracking from a separate configuration to a simple toggle on any event you collect. You can mark up to 30 events as key events (50 for Analytics 360 properties), and you can create custom events to track specific interactions like form submissions or page scrolls.

What Happened To Goals?

In Universal Analytics, goals were predefined configurations: destination (a specific pageview), event (a user-triggered action), duration (time on site), and pages/screens per session. These goals allowed you to measure conversions, but they were separate from the event model. GA4 unifies measurement under events. Every interaction is an event, and any event can become a key event by marking it with the star icon in the Events settings.

UA Goal TypeGA4 Equivalent
DestinationCustom event based on page_view + key event
EventExisting event marked as key event
DurationCustom event (e.g., timer) marked as key event
Pages/Screens per sessionCustom event (e.g., page depth) marked as key event

While Universal Analytics was still running, Google's goals migration tool could automatically replicate most event and destination goals from a UA property into a GA4 property. Google now marks that guidance as legacy. The tool translated UA event goals using the category, action, and label values into GA4 events and parameters. For destination goals, it created a new event based on the page_view event with a matching page_location condition.

If you used connected site tags or dual-tagged your site with gtag.js, UA events are automatically translated to GA4 events. The event's action label becomes the event_name parameter. You then need to mark these translated events as key events manually: go to Admin > Data display > Events, find the event, and click the star icon.

Duration and pages/screens per session goals were not replicated. To measure these, you need to create custom events that fire after a set time or after a certain number of pageviews, then mark them as key events. The event-based model gives you more flexibility: you can track scroll depth, video engagement, or any custom interaction as a key event without being limited to four goal types. Learn more about creating custom events in GA4.

GA4 key events are not retroactive; they only apply from the time you mark them. Historical data remains unchanged.

From Conversions To Key Events

In early versions of GA4, marked events were called "conversions." Google later renamed them to "key events" to avoid confusion with Google Ads conversions. A key event is purely an analytics metric; it shows you how many users completed an important action. If you want to use that action for Google Ads bidding, you create a Google Ads conversion from the key event. This separation lets you manage reporting and bidding independently. Learn more in the official key events documentation.

When you mark an event as a key event, it appears in standard GA4 reports, the Advertising section, and can be used in explorations. You can also set a default monetary value for the key event, to measure the revenue associated with it. To do this, go to Admin > Data display > Events, open the Key events tab, click the far right of the event's row, select Set default key event value, enter the value and click Save. If you send values with the event instead, the currency parameter must use ISO 4217 format (e.g., USD).

Several events are marked as key events by default. For web and app properties, purchase is always a key event. For apps, first_open, in_app_purchase, app_store_subscription_convert, and app_store_subscription_renew are also marked. Additionally, if you enable Ads Personalization with a linked Google Ads account, events like add_to_cart, begin_checkout, and view_item become key events automatically.

You can mark up to 30 events as key events in a standard property, or 50 in a 360 property. If you need to stop tracking a key event, unmark it by deselecting the star icon on the Key events tab. Past data remains in reports, but new occurrences won't be counted as key events.

You can create Google Ads conversions based on your key events through the Google Ads and Google Analytics interfaces, and manage most conversion settings directly within Google Analytics. However, Google Ads conversions created this way do not appear in standard GA4 reports; they are visible in the Advertising section. Learn more about GA4 conversion rate.

Short on time? Analytics Art can check this in your property for you.

How To Recreate A Destination Goal

A Universal Analytics destination goal fired when a user reached a specific page, like a thank-you or order confirmation page. In GA4, you recreate this by creating a custom event based on the page_view event and then marking it as a key event. Do not modify the page_view event directly; that would stop pageview data collection for all other pages. Refer to the guide on creating and modifying events for more details.

Here are the steps from the GA4 interface:

  1. Go to Admin > Data display > Events.
  2. Click + Create event.
  3. In the Event name field, enter a descriptive name, such as thank_you or order_confirmation.
  4. (Optional) Toggle Mark as key event to yes, and choose a Default key event value and Counting method. You can also mark it later.
  5. In Choose how to create an event, select Create without code.
  6. From the Event name dropdown, choose page_view.
  7. In the URL text field, enter the full URL of your destination page, for example https://www.example.com/thank-you.html.
  8. Click Create.

The new event appears in the Custom events table but won't show in the Recent events tab until GA4 processes the first occurrence. After that, you can verify it in the Realtime report.

If you used the goals migration tool before UA shut down, it converted destination goals using this same method. The tool created an event with a matching condition on page_location. You can review and adjust these events in Admin > Data display > Events under Custom events.

Note: If you need to match several pages or handle case variations, generate the event from matching conditions on page_location instead (Admin > Data display > Events > Create event), where operators such as 'contains' and 'equals (ignore case)' are available; use 'equals' for an exact, case-sensitive match. To create an event without code, you need at least Viewer permission at the property level. For other creation methods, higher permissions may be required. For more on event creation, see how to create custom events in GA4.

How To Recreate An Engagement Goal

Universal Analytics offered duration goals (e.g., sessions lasting more than 5 minutes) and pages/screens per session goals (e.g., viewing at least 3 pages). GA4 does not have a direct equivalent for these goal types, and the goals migration tool does not replicate them. Instead, you need to identify a specific engagement action that indicates user interest and capture it as an event.

For example, a scroll event can serve as an engagement indicator. In GA4, you can mark the existing scroll event as a key event if you want to track when users scroll to 90% of a page. This event is automatically collected if you have enhanced measurement enabled. You can find it in Admin > Data display > Events and click the star icon to mark it.

If you need a more tailored engagement metric, you can create a custom event. For instance, you could use Google Tag Manager to fire an event after a user has spent a certain amount of time on a page or has viewed a specific number of pages. Then, mark that custom event as a key event. GA4's event-based model lets you define engagement in a way that matches your business, rather than relying on session-level metrics.

Another approach is to use GA4's built-in engagement metrics like engaged sessions, but these are not key events themselves. An engaged session is a session that lasts longer than 10 seconds, has a key event, or has at least 2 pageviews or screenviews. You cannot directly mark an engaged session as a key event.

Remember that any event you create must be processed before it appears in reports. Allow up to 24 hours for standard reports and a few minutes for real-time reports. Also, be cautious when modifying existing events; always prefer creating a new event from an existing one to avoid losing data. Learn more about GA4 events.

Marking An Event As A Key Event

Marking an event as a key event is the central action that replaces goal setup in GA4. You can do this for any event that GA4 has already collected, or you can mark a new event before it is first triggered. Open your GA4 property at analytics.google.com.

To mark an existing event:

  • Go to Admin > Data display > Events.
  • In the Recent events tab, find the event you want to mark.
  • Click the star icon next to the event name. The star will fill in, indicating it is now a key event.
Click path: Admin then Data display then EventsAdminData displayEvents
Mark an event as a key event by clicking the star icon.

To mark a new event that hasn't been collected yet:

  • Click + Create event.
  • Enter the event name (no special characters).
  • Toggle Mark as key event to on.
  • Select a Default key event value and Counting method (once per event or once per session).
  • Complete the event creation steps (either with or without code).
  • Click Create.

Permissions: Google's help page says you need the Marketer role or above to mark an event as a key event, including when you create a new event and mark it at the same time.

Limits: You can mark up to 30 events as key events in a standard GA4 property, or 50 in a 360 property.

After marking, key events appear in standard reports within 24 hours. Real-time reports update within minutes. If you later want to stop tracking a key event, simply click the star again to unmark it. This does not delete past key event data; it only stops counting future occurrences as key events.

You can also set a default monetary value for a key event: in the Key events tab, click the far right of its row and select Set default key event value. For more on event configuration, see Google Analytics Admin settings.

Frequently Asked Questions

What Is The Main Purpose Of Google Analytics?

Google Analytics helps you measure user interactions on your website or app and evaluate the marketing channels that lead users to take important actions, called key events. It provides reports on user behavior, acquisition, and conversions to inform business decisions.

How To Set A Goal In Google Analytics 4?

In GA4, you set a goal by marking an event as a key event. Go to Admin > Data display > Events, find the event in the list, and click the star icon. You can also create a new event and toggle Mark as key event during creation. The key event then appears in your reports.

What Are The Two Most Commonly Used Goal Types Within Google Analytics?

In Universal Analytics, destination goals (a specific pageview) and event goals (a user-triggered action) were the most common. GA4 does not have goal types; instead, you mark any event as a key event. While UA was running, the goals migration tool could replicate most destination and event goals from UA to GA4.

What Are Three Types Of Goals In Universal Analytics?

Universal Analytics offered four goal types: destination (a specific URL), event (a user action), duration (time on site), and pages/screens per session. In GA4, these are replaced by key events, which are based on any event you collect. Duration and pages/screens per session goals require custom events in GA4.

What Data Is Google Analytics Goals Unable To Track?

Google Analytics goals (key events) cannot track interactions that are not sent as events to GA4. You must instrument your site or app to capture the desired action. For example, offline conversions require uploading data via the Measurement Protocol or other methods.

Why Is My Google Analytics Not Showing Any Data?

If you recently marked an event as a key event, allow up to 24 hours for it to appear in standard reports. Check that your tracking code is firing correctly using DebugView or Tag Assistant. Also verify that the event is being collected in the Realtime report.