How to Track Destination Goals in GA4 (2024)

A Step-By-Step Guide to Creating Google Analytics 4 Goals

Updated July 2, 2024

track destination goals ga4

For years, marketers and business owners alike have been utilizing goal tracking for their websites via Google’s Universal Analytics (UA). However, with the recent announcement of the sunsetting of UA, many users are now being challenged to mimic their UA setup in GA4 (which is not an easy task).

One of the biggest pain points of GA4 is the removal of traditional goal tracking, as it has been replaced with event based key event tracking. And for most business types, this type of tracking isn’t completely helpful.

So, if you are scratching your head trying to figure out how to copy over your destination goals from UA to GA4, you’ve come to the right place. Read on to learn more about just what you need to do.

Step 1: Setup GA4 on Your Site

Before we dive into configuring our key events, you will first need to ensure you have properly placed the new GA4 tracking code on your site, as it acts as a different property type than UA. If you need help with this step, check out Google’s help article.

Step 2: Create a Custom Event

From the side menu, select ‘Admin’ and then ‘Events’ in the middle column. On that page, you will see a button labeled ‘Create Event’, click that option to access your custom events page, and then click ‘Create’ and you will be presented with this screen:

GA4 screen to create an event

Step 3: Configure Your Custom Event

Here on this screen, you will want to replicate the following as you set up your custom event, and be sure to use a similar custom event name (depending on what you are tracking), as per Google’s documentation.

GA4 configuration for destination goal

Fill in the boxes as so above, following these instructions:

  • As you can see, you will want to fill in ‘page_view’ as the value for your first parameter
  • Then you will need to click ‘Add condition’ to create a new row
  • In that new row, you will set your parameter to ‘page_location’
  • Then change your operator to ‘contains (ignore case)’
    • Note: This is the most important step in this process, as it is the only operator that our testing has gotten to work successfully
  • And then for value, you will want to copy over the URL path you are using for your destination goal
    • For example, many people use a thank you page (/thank-you/)
  • For now, you can keep the parameter configuration box checked, however, if you later find your event does not trigger, you may need to come back and remove it

After you have filled out your custom event, be sure to save it and then you can exit the screen.

Step 4: Test Your New Event

Thankfully, GA4 still offers real-time data, which is essential to testing various elements and events being triggered on your site.

From the side menu, click ‘Reports’ and then ‘Realtime’. On this page, you will want to scroll down until you see ‘Event count by Event name.’

Then, in a new tab or window, you will want to visit the URL that you used to create your custom event (ex: Keep that page open until the end of this step.

Go back to your GA4 Realtime tab, and keep an eye on the ‘Event count by Event name’ area until you see the custom event you created shows up:

ga4 realtime event

If after some time, you still do not see the event appear, go back to step 3 and check your configuration, then try step 4 again until you succeed.

Tip: In some instances, you may need to remove the slash at the end of the URL slug you added (ex: /thank-you/ -> /thank-you) as per advice from Savannah Gray.

Step 5: Create A Key Event

Now that we have a new event that is working and measuring what we want, it is time to create a key event.

Go back to ‘Admin,’ select ‘Key Events,’ and then click on ‘New key event.’

All you need to do here is add the name of the custom event you created and click save.

You will then see the toggle under ‘Mark as key event’ is turned on, keep it on until you no longer want to track that metric.

GA4 Conversions

Step 6: Repeat

If applicable, go back and repeat steps 2-5 for any other pages you want to track.

Step 7: Wait, Return, and Check Data

This next step will be the easiest yet. Sit back and wait! Depending on how active your site is, it may take some time for the events to be triggered on your site.

So, after some time passes, you will be able to return to the GA4, return to the key event area by going to ‘Admin’ then ‘Key Events’ and you should see a number under the ‘Count (% change)’ column:

GA4 events count

More Articles Related to Google Analytics 4

Sarah Blocksidge

About the Author

Sarah Blocksidge

Sarah is the Marketing Director at Sixth City Marketing and has been with the company since 2016. Her main role is to attract more B2B clients for the company via various SEO, web design, and PPC strategies. Over the years, she has been mentioned on HubSpot, Search Engine Land, GoDaddy, Content Marketing Institute, Fast Company, and Mashable.

Our Partners & Awards