{"id":39764,"date":"2023-03-20T07:00:22","date_gmt":"2023-03-20T14:00:22","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=39764"},"modified":"2025-05-21T23:21:10","modified_gmt":"2025-05-22T06:21:10","slug":"ga4-events","status":"publish","type":"post","link":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/","title":{"rendered":"Marketer&#8217;s Guide to Creating Events and Measuring Conversions in GA4"},"content":{"rendered":"\n<p>As a marketing person or website owner, you knew the day would come when you really needed to understand <a href=\"https:\/\/www.dreamhost.com\/blog\/universal-analytics-to-ga4\/\" target=\"_blank\" rel=\"noopener\">GA4<\/a>.<\/p>\n\n\n\n<p>And today is that day.<\/p>\n\n\n\n<p>Luckily, your search for knowledge has led you here. So rather than wading through complex tutorials written by analytics nerds, you can wade through this <i>simple<\/i> tutorial written by analytics nerds! ?<\/p>\n\n\n\n<p>If you\u2019re trying to figure out how to set up events or track <a href=\"https:\/\/www.dreamhost.com\/blog\/increase-website-conversion-rate\/\" target=\"_blank\" rel=\"noopener\">conversions<\/a>, stay with us for the next few minutes, and we\u2019ll make it as clear as day.<\/p>\n\n\n\n<h2 id=\"h-how-does-ga4-track-user-behavior\" class=\"wp-block-heading\"><b>How Does GA4 Track User Behavior?<\/b><\/h2>\n\n\n\n<p>As you probably know, GA4 is the latest edition of <a href=\"https:\/\/marketingplatform.google.com\/about\/analytics\/\" target=\"_blank\" rel=\"noopener\">Google Analytics<\/a>. It was initially launched in the latter half of 2020 and has now <a href=\"https:\/\/support.google.com\/analytics\/answer\/11583528\" target=\"_blank\" rel=\"noopener\">replaced UA (Universal Analytics)<\/a> as the primary version of the suite.<\/p>\n\n\n\n<p>GA4 represents a significant change in the way we track user behavior. Instead of recording each request to your website server individually, Google now tracks every user interaction across your website or app, along with the context around it.<\/p>\n\n\n\n<p>Every interaction is categorized as an \u201cevent\u201d. This means instead of pageviews being their own measurement, they\u2019re just one event of many that you may want to track.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"670\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4.jpg\" alt=\"Difference between Universal Analytics and Google Analytics 4. Universal Analytics is based on sessions and pageviews. Google Analytics 4 tracks events across multiple platforms\" class=\"wp-image-39773 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-300x126.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-1024x429.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-768x322.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-1536x643.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-600x251.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-1200x503.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-730x306.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-1460x611.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-784x328.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-1568x657.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/Universal-Analytics-versus-Google-Analytics-4-877x367.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/670;\" \/><\/figure>\n\n\n\n<p>This \u201cevent-based model\u201d allows us to build a picture of the entire user journey, from that first click-through to making a purchase.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-is-an-event-in-ga4\"><b>What Is an Event in GA4?<\/b><\/h3>\n\n\n\n<p>In Google Analytics 4, an event allows you to track a specific user interaction or occurrence on your website or app.<\/p>\n\n\n\n<p>Examples would include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visiting a specific page<\/li>\n\n\n\n<li>Clicking a button<\/li>\n\n\n\n<li>Completing a purchase<\/li>\n\n\n\n<li>Sharing specific content<\/li>\n\n\n\n<li>Submitting a form<\/li>\n\n\n\n<li>Your app crashing<\/li>\n<\/ul>\n\n\n\n<p>You can analyze each event individually, and multiple events can be bundled into event categories for a higher-level overview.<\/p>\n\n\n\n<p>For anyone familiar with Universal Analytics, events essentially replace pageviews. The main difference is that every user interaction is treated the same way \u2014 No predetermined Category, Action, or Label is associated with any event.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-type-of-event-does-ga4-track\"><b>What Type of Event Does GA4 Track?<\/b><\/h3>\n\n\n\n<p>Once you have <a href=\"https:\/\/www.dreamhost.com\/blog\/use-google-analytics-wordpress\/\" target=\"_blank\" rel=\"noopener\">installed the code snippet<\/a>, Google Analytics can track an impressive variety of events right out of the box:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Pageviews<\/b> \u2013 Including navigation around your site or app.<\/li>\n\n\n\n<li><b>Scroll<\/b> \u2013 Vertical and horizontal, and the percentage of the page.<\/li>\n\n\n\n<li><b>Click <\/b>\u2013 Links, buttons, videos, or any specific position on the screen.<\/li>\n\n\n\n<li><b>Session start <\/b>\u2013 Including returning to a session after inactivity.<\/li>\n\n\n\n<li><b>User engagement <\/b>\u2013 Such as submitting a form or completing an interactive quiz.<\/li>\n\n\n\n<li><b>Video engagement <\/b>\u2013 Play, pause, and completion.<\/li>\n<\/ul>\n\n\n\n<p>In addition to these metrics, you can build your own custom events for more detailed data collection. You can add up to 500 events to each account.<\/p>\n\n\n\n<h2 id=\"h-how-to-create-events-in-google-analytics-4\" class=\"wp-block-heading\"><b>How to Create Events in Google Analytics 4<\/b><\/h2>\n\n\n\n<p>Okay, that\u2019s enough for theory \u2014 It\u2019s time to make some Google Analytics events for your site.<\/p>\n\n\n\n<p>There are several ways to add events within GA4. Let\u2019s go through each of them in order from the easiest to the most challenging:<\/p>\n\n\n\n<h2 id=\"h-automatic-events\" class=\"wp-block-heading\"><b>Automatic Events<\/b><\/h2>\n\n\n\n<p>When you first set up a property in Google Analytics, the platform automatically creates some basic events.<\/p>\n\n\n\n<p>Many of these relate to Google products in some way, such as clicks on Google Ads, views of embedded YouTube videos, and app purchases made through Google Play.<\/p>\n\n\n\n<p>However, there are some very beneficial events here:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>first_visit <\/b>\u2013 This triggers when someone visits your site or launches an instant app on Android for the first time.<\/li>\n\n\n\n<li><b>session_start <\/b>\u2013 Records when a user first engages with your website or app.<\/li>\n\n\n\n<li><b>user_engagement <\/b>\u2013 This event fires whenever a specific page or app is in the foreground for one or more seconds.<\/li>\n\n\n\n<li><b>first_open <\/b>\u2013 Records when someone opens your app for the first time.<\/li>\n\n\n\n<li><b>app_remove <\/b>\u2013 If you\u2019re tracking an Android app, this event records when people delete it from their device.<\/li>\n<\/ul>\n\n\n\n<p>You don\u2019t need to do anything to start collecting information here; it\u2019s completely hands-free. Any data that is collected will appear in your event reports automatically.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-default-parameters\"><b>Default Parameters<\/b><\/h3>\n\n\n\n<p>Along with the specific data collection mentioned above, GA4 sets several additional parameters for every event:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>language<\/b> \u2013 The preferred language of the user.<\/li>\n\n\n\n<li><b>page_location<\/b> \u2013 The URL of the page.<\/li>\n\n\n\n<li><b>page_referrer <\/b>\u2013 Where the user came from.<\/li>\n\n\n\n<li><b>page_title<\/b> \u2013 The HTML title of the page.<\/li>\n\n\n\n<li><b>screen_resolution <\/b>\u2013 The display resolution of the device being used.<\/li>\n<\/ul>\n\n\n\n<p>These parameters are designed to provide extra contact for each event, allowing you to better understand how various users interact with your website or app.<\/p>\n\n\n\n<h2 id=\"h-enhanced-measurement-events\" class=\"wp-block-heading\"><b>Enhanced Measurement Events<\/b><\/h2>\n\n\n\n<p>Want to dive deeper? You can enable Enhanced Measurement.<\/p>\n\n\n\n<p>This feature introduces a wider selection of events that record common user interactions. In some cases, they extend the tracking of automatic events.<\/p>\n\n\n\n<p>Here\u2019s a quick look at all the events covered by Enhanced Measurement:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>page_view<\/b> \u2013 Records when a page is loaded, or an active site changes browser history.<\/li>\n\n\n\n<li><b>scroll <\/b>\u2013 Records when a user scrolls down to the bottom of a page.<\/li>\n\n\n\n<li><b>click <\/b>\u2013 This records all outbound click events (i.e., towards another domain).<\/li>\n\n\n\n<li><b>view_search_results<\/b> \u2013 This event will track it whenever someone uses your site search.<\/li>\n\n\n\n<li><b>video_start <\/b>\u2013 Google creates an event that tracks when users start any video.<\/li>\n\n\n\n<li><b>video_progress <\/b>\u2013 This measures how far a user has watched a video.<\/li>\n\n\n\n<li><b>video_complete <\/b>\u2013 Triggered when a user watches a video to the end.<\/li>\n\n\n\n<li><b>file_download<\/b> \u2013 Records when someone grabs any file from your website or app.<\/li>\n\n\n\n<li><b>form_start <\/b>\u2013 If someone starts interacting with a form on your site, this event will record it.<\/li>\n\n\n\n<li><b>form_submit <\/b>\u2013 Triggers when someone completes and sends a form.<\/li>\n<\/ul>\n\n\n\n<p>As with automatic events, you don\u2019t have to manually set up Enhanced Measurement events. Instead, you only need to <a href=\"https:\/\/www.dreamhost.com\/blog\/universal-analytics-to-ga4\/\" target=\"_blank\" rel=\"noopener\">add a data stream within GA4<\/a> and enable Enhanced Measurement under <b>Admin &gt; Data Streams &gt; [Your Data Stream]<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"780\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Enhanced-Measurement.jpg\" alt=\"Screenshot of Google Analytics 4 Enhanced Measurement\" class=\"wp-image-39774 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-300x146.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-1024x499.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-768x374.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-1536x749.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-600x293.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-1200x585.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-730x356.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-1460x712.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-784x382.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-1568x764.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Enhanced-Measurement-877x428.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/780;\" \/><\/figure>\n\n\n\n<p>If you want to edit any of these events or switch them off individually, click the <b>cog icon<\/b> on the right of the Enhanced Measurement section.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-use-cases-for-enhanced-measurement\"><b>Use Cases for Enhanced Measurement<\/b><\/h3>\n\n\n\n<p>You may have thought about how you could use the various events mentioned above to gain insights about your website or app.<\/p>\n\n\n\n<p>If you\u2019re still looking for inspiration, here are a few examples of how you can utilize automatic events and Enhanced Measurement in the real world:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use <b>click<\/b> events to understand how users exit your site or app and where those outbound links take them.<\/li>\n\n\n\n<li>Compare <b>form_start<\/b> with <b>form_submit<\/b> to see how many people abandon your forms halfway through.<\/li>\n\n\n\n<li>Check out <b>scroll<\/b> to monitor how many people read to the bottom of your blog posts.<\/li>\n\n\n\n<li>Use <b>video_progress<\/b> to see how long visitors are staying engaged with your videos.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"h-create-new-events-in-ga4\" class=\"wp-block-heading\"><b>Create New Events in GA4<\/b><\/h2>\n\n\n\n<p>Once you have set up automatically collected events and Enhanced Measurement, you\u2019ll be rolling in data!<\/p>\n\n\n\n<p>But if you\u2019re greedy for more, GA4 can help you scrutinize your website or app in greater detail. Of course, to make this happen, you will need to create some new events.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-creating-an-event\"><b>Creating an Event<\/b><\/h3>\n\n\n\n<p>Visit the <b>Admin<\/b> section of Google Analytics, and select <b>Events<\/b> under the property you\u2019re working on.<\/p>\n\n\n\n<p>Next, tap the big blue <b>Create Event <\/b>button in the top right corner, followed by <b>Create<\/b> in the pop-out menu.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1075\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Event.jpg\" alt=\"Screenshot of Google Analytics 4 Create Event\" class=\"wp-image-39775 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Event-300x202.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Event-1024x688.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Event-768x516.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Event-1536x1032.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-600x403.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-1200x806.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-730x490.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-1460x981.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-784x527.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-1568x1054.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Event-877x589.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1075;\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-name-your-custom-event\"><b>Name Your Custom Event<\/b><\/h3>\n\n\n\n<p>You should now have the GA4 event creation form in front of you.<\/p>\n\n\n\n<p>There are several fields to fill out here, but we can start with an easy one \u2014 your event name.<\/p>\n\n\n\n<p>You can call your event pretty much anything (as long as the event label is unique), but there are a few principles to bear in mind:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Be descriptive<\/b> \u2013 Choose a name that clearly identifies what the event is tracking, and the original event that you\u2019re tweaking.<\/li>\n\n\n\n<li><b>But don\u2019t be too wordy <\/b>\u2013 Long names mean more reading.<\/li>\n\n\n\n<li><b>Create your own naming conventions <\/b>\u2013 This will make it easier to organize your data.<\/li>\n\n\n\n<li><b>Replace spaces with underscores <\/b>\u2013 Google Analytics only supports letters, numbers, and underscores in event names.<\/li>\n\n\n\n<li><b>Consider using a hierarchy <\/b>\u2013 For more complex projects, it\u2019s worth building a hierarchy of events that mirrors the structure of your site or app.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-set-your-matching-conditions\"><b>Set Your Matching Conditions<\/b><\/h3>\n\n\n\n<p>Here\u2019s where things get interesting.<\/p>\n\n\n\n<p>When you create a new event within GA4, the platform makes a copy of an existing event. You can then add your own conditional logic to the original event to target specific data.<\/p>\n\n\n\n<p>For instance, you could copy the <i>page_view<\/i> event and create a new event focusing on a particular <a href=\"https:\/\/www.dreamhost.com\/glossary\/domains\/url\/\" target=\"_blank\" rel=\"noopener\">URL<\/a>.<\/p>\n\n\n\n<p>These rules are called Matching Conditions.<\/p>\n\n\n\n<p>When you set up your new event, GA4 will first ask you to choose the existing event you want to copy. You can make this selection in the first <b>Matching Conditions<\/b> field.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1075\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Matching-Conditions.jpg\" alt=\"Screenshot of Google Analytics 4 Matching Conditions\" class=\"wp-image-39776 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Matching-Conditions-300x202.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Matching-Conditions-1024x688.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Matching-Conditions-768x516.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Matching-Conditions-1536x1032.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-600x403.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-1200x806.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-730x490.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-1460x981.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-784x527.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-1568x1054.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Matching-Conditions-877x589.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1075;\" \/><\/figure>\n\n\n\n<p>Then, you can choose your new rules for data sorting. Google Analytics provides a generous selection of parameters and operators, and you can input anything in the \u201cValue\u201d field on the right.<\/p>\n\n\n\n<p>In most cases, you won\u2019t need to add many parameters. Just make sure to select the checkbox at the bottom of the form, marked <b>Copy parameters from the source event<\/b>.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"h-real-world-example-of-matching-conditions\">Real-World Example of Matching Conditions<\/h4>\n\n\n\n<p>To understand how Matching Conditions work in practice, let\u2019s look at a simple example.<\/p>\n\n\n\n<p>Say you operate an e-commerce store, and want to see when someone registers for an account.<\/p>\n\n\n\n<p>To detect when users sign up, you could create a new event with the following Matching Conditions:<\/p>\n\n\n\n<p>Parameter: event_name<br>Operator: equals<br>Value: page_view<\/p>\n\n\n\n<p>Parameter: page_location<br>Operator: equals<br>Value: [URL of confirmation page]<\/p>\n\n\n\n<p>This combination will record every time someone views the confirmation page for your signup form.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-test-your-new-event\"><b>Test Your New Event<\/b><\/h3>\n\n\n\n<p>After you choose your Matching Conditions and hit Submit, your new event should appear in the events list for your chosen property.<\/p>\n\n\n\n<p>Job done? Not quite. As Dr. Frankenstein discovered the hard way, it\u2019s a good idea to <a href=\"https:\/\/www.dreamhost.com\/academy\/why-your-site-speed-matters\/\" target=\"_blank\" rel=\"noopener\">test your creations<\/a> before letting them loose.<\/p>\n\n\n\n<p>The simplest way to test new events is by opening up your real-time report and testing the interaction yourself. You can access this option at <b>Reports &gt; Realtime.<\/b><\/p>\n\n\n\n<p>Alternatively, if the event action isn\u2019t easy to test, you can head to <b>Admin &gt;<\/b> <b>DebugView<\/b> for a more in-depth view of live interactions.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"810\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Debug.jpg\" alt=\"Screenshot of Google Analytics 4 DebugView\" class=\"wp-image-39777 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Debug-300x152.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Debug-1024x518.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Debug-768x389.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Debug-1536x778.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-600x304.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-1200x608.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-730x370.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-1460x739.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-784x397.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-1568x794.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Debug-877x444.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/810;\" \/><\/figure>\n\n\n\n<h2 id=\"h-adding-recommended-events-with-google-tag-manager\" class=\"wp-block-heading\"><b>Adding Recommended Events With Google Tag Manager<\/b><\/h2>\n\n\n\n<p>If you\u2019re not a technical type, it\u2019s perfectly fine to use the methods above for setting up events in Google Analytics.<\/p>\n\n\n\n<p>However, it\u2019s possible to fill up Google Analytics with more specific data if you\u2019re willing to take a detour via <a href=\"https:\/\/help.dreamhost.com\/hc\/en-us\/articles\/216474217-Google-Analytics\" target=\"_blank\" rel=\"noopener\">Google Tags Manager (GTM)<\/a>.<\/p>\n\n\n\n<p>Here, you can point Google towards particular elements of your website or app, and track them individually.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-recommended-events\"><b>Recommended Events<\/b><\/h3>\n\n\n\n<p>To make this process faster, Google provides a long list of Recommended Events. These are designed to track the interactive elements you can find in most websites or apps.<\/p>\n\n\n\n<p>We won\u2019t list them all here, but some examples include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>add_to_cart<\/li>\n\n\n\n<li>login<\/li>\n\n\n\n<li>share<\/li>\n\n\n\n<li>unlock_achievement<\/li>\n<\/ul>\n\n\n\n<p>To add recommended events to your GA4 property, create a tag and trigger for your new event in GTM.<\/p>\n\n\n\n<p>Before you begin, make sure you have set up a data stream and created a Configuration Tag.<\/p>\n\n\n\n<p>Then, to create a new event tag:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select <b>Tags &gt; New<\/b><\/li>\n\n\n\n<li>Click in the <b>Tag Configuration<\/b> box, and select <b>Google Analytics: GA4 Event<\/b><\/li>\n\n\n\n<li>Choose your Configuration Tag<\/li>\n\n\n\n<li>In the Event Name field, enter one of Google\u2019s Recommended Events<\/li>\n<\/ul>\n\n\n\n<p>By default, your new tag will track multiple elements on your site. If you want to be more specific, open <b>Event Parameters<\/b>&nbsp; (scroll down to the \u201cCustom Dimensions\u201d section in this guide to learn how).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1075\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Event-Parameters.jpg\" alt=\"Screenshot of Google Analytics 4 Event Parameters\" class=\"wp-image-39778 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Event-Parameters-300x202.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Event-Parameters-1024x688.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Event-Parameters-768x516.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Event-Parameters-1536x1032.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-600x403.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-1200x806.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-730x490.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-1460x981.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-784x527.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-1568x1054.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Event-Parameters-877x589.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1075;\" \/><\/figure>\n\n\n\n<p>Check the <a href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/ga4\/reference\/events?client_type=gtm\" target=\"_blank\" rel=\"noopener\">Recommended Events list<\/a>, and input one of the parameters that work with the type of event you want to create. Make sure it matches the parameter name exactly.<\/p>\n\n\n\n<p>As the event value, choose a unique identifier for the element you want to track, such as an HTML class or id.<\/p>\n\n\n\n<p>We also need to tell Google which trigger it should be tracking. To do this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the <b>Triggering<\/b> box on the new event screen<\/li>\n\n\n\n<li>Tap the <b>+<\/b> in the top-right<\/li>\n\n\n\n<li>Click the <b>Trigger Configuration<\/b> box<\/li>\n\n\n\n<li>Choose an appropriate trigger type from the menu<\/li>\n\n\n\n<li>Add a <b>Trigger Name<\/b> that matches your event<\/li>\n<\/ul>\n\n\n\n<p>To be specific with triggers, tap <b>Some &lt;trigger type&gt; <\/b>and use the built-in parameters to identify the exact interaction you want to track.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"848\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Trigger-Type.jpg\" alt=\"Screenshot of Google Analytics 4 Trigger Type\" class=\"wp-image-39779 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Trigger-Type-300x159.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Trigger-Type-1024x543.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Trigger-Type-768x407.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Trigger-Type-1536x814.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-600x318.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-1200x636.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-730x387.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-1460x774.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-784x416.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-1568x831.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Trigger-Type-877x465.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/848;\" \/><\/figure>\n\n\n\n<p>It\u2019s also possible to add completely custom events via Google Tag (gtag.js) or Google Tag Manager. But as this requires <a href=\"https:\/\/www.dreamhost.com\/pro-services\/development\/\" target=\"_blank\" rel=\"noopener\">developer-level expertise<\/a>, we will leave that to another post!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-custom-dimensions\"><b>Custom Dimensions<\/b><\/h3>\n\n\n\n<p>An easier way to spice up your analytics is by creating new ways to categorize incoming data.<\/p>\n\n\n\n<p>To make this happen, you will need to set up some custom dimensions in Google Tag Manager.<\/p>\n\n\n\n<p>A dimension is essentially an attribute of an event or user. GA4 captures five default dimensions as soon as you set up tracking (see \u201cDefault Parameters\u201d earlier in this guide).<\/p>\n\n\n\n<p>However, you can also create your own custom dimensions to track more specific details about events and user properties. Let\u2019s work through an example.<\/p>\n\n\n\n<p>Say you want to measure when a user scrolls 25%, 50%, or 75% down any given page. You\u2019re going to need a new event with custom dimensions.<\/p>\n\n\n\n<p>First, you need to build the trigger. In GTM, select <b>Triggers <\/b>in the left-hand menu and then hit the <b>New<\/b> button.<\/p>\n\n\n\n<p>Give the new trigger a name, then tap the <b>Trigger Configuration<\/b> box. Google lets you choose from a generous array of options here. In this example, you would need to select <b>Scroll Depth<\/b>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"999\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Scroll-Trigger.jpg\" alt=\"Screenshot of Google Analytics 4 Scroll Trigger\" class=\"wp-image-39780 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Scroll-Trigger-300x187.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Scroll-Trigger-1024x639.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Scroll-Trigger-768x480.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Scroll-Trigger-1536x959.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-600x375.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-1200x749.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-730x456.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-1460x912.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-784x490.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-1568x979.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Scroll-Trigger-877x548.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/999;\" \/><\/figure>\n\n\n\n<p>Next, create a new GA4 event tag by following the process we went through earlier, but this time open the <b>Event parameters<\/b> section and hit <b>Add row<\/b>.<\/p>\n\n\n\n<p>Under <b>Parameter name<\/b>, add the name you want to give to your new dimension. In the <b>Value<\/b> box, you need to choose a suitable variable for measurement. In this case, you need <b>{{Scroll Depth Threshold}}<\/b>.<\/p>\n\n\n\n<p>(Can\u2019t see the variable you need? Navigate to <b>Variables &gt; Configure<\/b> and make sure all the boxes are checked.)<\/p>\n\n\n\n<p>Finally, click the <b>Triggering<\/b> box and choose the trigger you made earlier. You can now save your new event tag. It\u2019s a good idea to test it, as well.<\/p>\n\n\n\n<p>Your new event should show up in GA4 under the Events section within about 48 hours, and you can click on the name to see all the data collected within the past half an hour.<\/p>\n\n\n\n<p>To see further into the past, you\u2019ll need to register the new event parameter as a custom dimension in GA4.<\/p>\n\n\n\n<p>On the Admin screen, head to<b> Custom definitions <\/b>under your chosen property and tap the blue<b> Create custom dimensions<\/b> on the right-hand side.<\/p>\n\n\n\n<p>Fill in the following fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Dimension name <\/b>\u2013 This is how your dimension will appear in reports.<\/li>\n\n\n\n<li><b>Scope<\/b> \u2013 Does this dimension relate to an event or a user?<\/li>\n\n\n\n<li><b>Description<\/b> \u2013 A place for comments or extra info.<\/li>\n\n\n\n<li><b>Event parameter\/User Property <\/b>\u2013 Input the exact name of the parameter you just created in your new event.<\/li>\n<\/ul>\n\n\n\n<p>In a standard account, you can add up to 50 custom event dimensions and 25 user dimensions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-custom-metrics\"><b>Custom Metrics<\/b><\/h3>\n\n\n\n<p>Of course, raw data is only useful to a certain extent. To understand exactly how your website or app is performing, it\u2019s a good idea to create some custom metrics that track your custom dimensions.<\/p>\n\n\n\n<p>Don\u2019t worry; this part is a lot easier!<\/p>\n\n\n\n<p>In your Google Analytics Admin area, choose your property and visit <b>Custom Definitions<\/b>. Next, tap the menu tab labeled <b>Custom Metrics <\/b>and then tap the blue <b>Create custom metrics<\/b> button on the right.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"1075\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics.jpg\" alt=\"Screenshot of Google Analytics 4 Create Custom Metrics\" class=\"wp-image-39781 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-300x202.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-1024x688.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-768x516.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-1536x1032.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-600x403.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-1200x806.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-730x490.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-1460x981.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-784x527.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-1568x1054.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Create-Custom-Metrics-877x589.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1075;\" \/><\/figure>\n\n\n\n<p>Then, fill out these fields:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>Event name <\/b>\u2013 How your metric will be listed.<\/li>\n\n\n\n<li><b>Scope<\/b> \u2013 Event or user.<\/li>\n\n\n\n<li><b>Description<\/b> \u2013 Add a comment.<\/li>\n\n\n\n<li><b>Event parameter<\/b> \u2013 The parameter\/dimensions this metric is tracking.<\/li>\n\n\n\n<li><b>Unit of measurement <\/b>\u2013 Choose how you want the incoming data to be measured (integer, time, distance).<\/li>\n<\/ul>\n\n\n\n<p>Make sure to select the <b>Active <\/b>checkbox, then hit <b>Save<\/b>. Within 48 hours, your custom metric should start populating in GA4.<\/p>\n\n\n\n<h2 id=\"h-how-to-measure-conversions-in-ga4\" class=\"wp-block-heading\"><b>How to Measure Conversions in GA4<\/b><\/h2>\n\n\n\n<p>While measuring clicks and scroll events can be useful, there is only one thing that ultimately matters to your business or brand: conversions.<\/p>\n\n\n\n\n\n<div class=\"glossary-term\">\n\t<a\n\t\tclass=\"glossary-term__above-title\"\n\t\thref=\"\"\n\t\ttarget=\"_blank\"\n\t\trel=\"noopener noreferrer\"\n\t>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 640 512\"><path d=\"M320 32c-8.1 0-16.1 1.4-23.7 4.1L15.8 137.4C6.3 140.9 0 149.9 0 160s6.3 19.1 15.8 22.6l57.9 20.9C57.3 229.3 48 259.8 48 291.9v28.1c0 28.4-10.8 57.7-22.3 80.8c-6.5 13-13.9 25.8-22.5 37.6C0 442.7-.9 448.3 .9 453.4s6 8.9 11.2 10.2l64 16c4.2 1.1 8.7 .3 12.4-2s6.3-6.1 7.1-10.4c8.6-42.8 4.3-81.2-2.1-108.7C90.3 344.3 86 329.8 80 316.5V291.9c0-30.2 10.2-58.7 27.9-81.5c12.9-15.5 29.6-28 49.2-35.7l157-61.7c8.2-3.2 17.5 .8 20.7 9s-.8 17.5-9 20.7l-157 61.7c-12.4 4.9-23.3 12.4-32.2 21.6l159.6 57.6c7.6 2.7 15.6 4.1 23.7 4.1s16.1-1.4 23.7-4.1L624.2 182.6c9.5-3.4 15.8-12.5 15.8-22.6s-6.3-19.1-15.8-22.6L343.7 36.1C336.1 33.4 328.1 32 320 32zM128 408c0 35.3 86 72 192 72s192-36.7 192-72L496.7 262.6 354.5 314c-11.1 4-22.8 6-34.5 6s-23.5-2-34.5-6L143.3 262.6 128 408z\"\/><\/svg>\n\t\t<span><\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n    <h3>Conversion<\/h3>\n    <p>A website conversion is any action a user takes on a site that moves them further into the sales funnel. Examples include filling out a web form, clicking a call to action, or purchasing a product.<\/p>\n            <a\n            href=\"https:\/\/www.dreamhost.com\/glossary\/seo\/conversion\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Read More                    <\/a>\n\n<\/div>\n\n\n\n<p>In Google Analytics 4, tracking conversions is pretty straightforward. All you need to do is identify which existing events count as some form of conversion.<\/p>\n\n\n\n<p>If a particular event has been triggered at least once, you will see the option to <b>Mark as conversion <\/b>on the right-hand side of the main <b>Events<\/b> list.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"968\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Mark-As-Conversion.jpg\" alt=\"Screenshot of Google Analytics 4 Mark As Conversion\" class=\"wp-image-39782 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-300x182.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-1024x620.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-768x465.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-1536x929.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-600x363.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-1200x726.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-730x442.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-1460x883.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-784x474.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-1568x949.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Mark-As-Conversion-877x531.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/968;\" \/><\/figure>\n\n\n\n<p>Remember that only events that track pageviews for a specific URL will work properly here. If you don\u2019t already have an event for your confirmation page, be sure to make one using the steps mentioned above.<\/p>\n\n\n\n<p>There is another way to set up conversion tracking for events that have not yet been triggered or haven\u2019t appeared in your events list.<\/p>\n\n\n\n<p>Under the property menu, head to <b>Conversions &gt; New conversion event<\/b>. Give your new Conversion exactly the same name as the event you want to link. Once your new event goes live, Google Analytics will recognize it as a conversion event.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-testing-new-conversion-events\"><b>Testing New Conversion Events<\/b><\/h3>\n\n\n\n<p>As with any new event, it\u2019s a good idea to verify your conversion events before relying on them.<\/p>\n\n\n\n<p>Simply visit the URL that is your designated confirmation page, and then open up the <b>Realtime <\/b>view in Google Analytics. If your conversion event shows up, you\u2019re good to go.<\/p>\n\n\n\n<p>Be aware that it might take a while after configuring your event before Google Analytics starts tracking it. Be patient.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-conversion-reports\"><b>Conversion Reports<\/b><\/h3>\n\n\n\n<p>Whenever you want to check on how many conversions you\u2019re making, just visit the <b>Conversions<\/b> page in GA4.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"810\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Conversions.jpg\" alt=\"Screenshot of Google Analytics 4 Conversions\" class=\"wp-image-39783 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Conversions-300x152.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Conversions-1024x518.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Conversions-768x389.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-Screenshot-Conversions-1536x778.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-600x304.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-1200x608.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-730x370.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-1460x739.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-784x397.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-1568x794.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-Screenshot-Conversions-877x444.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/810;\" \/><\/figure>\n\n\n\n<p>Here, you can see which conversions are happening most often, how many users converted through each event, and how much money you\u2019ve made.<\/p>\n\n\n\n<p>You can view a full breakdown of these stats for any conversion in the list by clicking on the name of the event you want to study.<\/p>\n\n\n\n<p>This detailed view also reveals the number of times the event has been triggered in total, and how many times it\u2019s been triggered in the past 30 minutes.<\/p>\n\n\n\n<p>If you want to understand how users make their way to your conversion page, head over to <b>User acquisition<\/b> and select any conversion event. Google Analytics will then show you which channels are delivering users to your site, and then to that specific conversion.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1600\" height=\"810\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-User-Acquisition.jpg\" alt=\"Screenshot of Google Analytics 4 User Acquisition\" class=\"wp-image-39784 lazyload\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition.jpg.webp 1600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-User-Acquisition-300x152.jpg 300w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-User-Acquisition-1024x518.jpg 1024w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-User-Acquisition-768x389.jpg 768w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/GA4-User-Acquisition-1536x778.jpg 1536w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-600x304.jpg.webp 600w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-1200x608.jpg.webp 1200w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-730x370.jpg.webp 730w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-1460x739.jpg.webp 1460w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-784x397.jpg.webp 784w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-1568x794.jpg.webp 1568w, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/smush-webp\/2023\/03\/GA4-User-Acquisition-877x444.jpg.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/810;\" \/><\/figure>\n\n\n\n<p>To trace the exact steps your users are taking, visit <b>Advertising &gt; Conversion paths<\/b>.<\/p>\n\n\n\n<p>The reporting dashboard here shows you which channels are popular with users at different touchpoints, on their way toward a specific conversion.<\/p>\n\n\n\n<h2 id=\"h-why-you-should-set-up-ga4-events\" class=\"wp-block-heading\"><b>Why You Should Set Up GA4 Events<\/b><\/h2>\n\n\n\n<p>As we have discovered, GA4 makes it possible to track user interactions across every detail of your website or app.<\/p>\n\n\n\n<p>Obviously, setting up all the various events and conversions requires some effort. The bigger your site, the longer the task will take.<\/p>\n\n\n\n<p>But if you want to build an audience or make more e-commerce sales, configuring GA4 event tracking is time well spent. The more you understand your users, the better you can <a href=\"https:\/\/www.dreamhost.com\/blog\/ab-testing-landing-pages\/\" target=\"_blank\" rel=\"noopener\">optimize your content<\/a>.<\/p>\n\n\n\n\n\n<div\n\tclass=\"article-cta-shared article-cta-small\"\n>\n    <div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder.webp 1x, https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/article-small-ad-cta-placeholder-x2.webp 2x\"  alt=\"Ad background image\" \/><\/div>\n\n\n\n\n  <div class=\"content-btm\">\n    <h2\n      class=\"h2--md\"\n    >\n      Get More Visitors, Grow Your Business\n    <\/h2>\n    <p\n      class=\"p--md\"\n    >\n      Our marketing experts will help you earn more traffic and convert more website visitors so you can focus on running your business.\n    <\/p>\n\n            <a\n            href=\"https:\/\/www.dreamhost.com\/pro-services\/marketing\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Learn More                    <\/a>\n\n  <\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>As a marketing person or website owner, you knew the day would come when you really needed to understand GA4. And today is that day. Luckily, your search for knowledge has led you here. So rather than wading through complex tutorials written by analytics nerds, you can wade through this simple tutorial written by analytics [&hellip;]<\/p>\n","protected":false},"author":1074,"featured_media":39898,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_metadesc":"Trying to figure out how to set up GA4 events and track conversions on your website? This guide will show you \u2013 step by step.","toc_headlines":"[[\"h-how-does-ga4-track-user-behavior\",\"<b>How Does GA4 Track User Behavior?<\/b>\"],[\"h-how-to-create-events-in-google-analytics-4\",\"<b>How to Create Events in Google Analytics 4<\/b>\"],[\"h-automatic-events\",\"<b>Automatic Events<\/b>\"],[\"h-enhanced-measurement-events\",\"<b>Enhanced Measurement Events<\/b>\"],[\"h-create-new-events-in-ga4\",\"<b>Create New Events in GA4<\/b>\"],[\"h-adding-recommended-events-with-google-tag-manager\",\"<b>Adding Recommended Events With Google Tag Manager<\/b>\"],[\"h-how-to-measure-conversions-in-ga4\",\"<b>How to Measure Conversions in GA4<\/b>\"],[\"h-why-you-should-set-up-ga4-events\",\"<b>Why You Should Set Up GA4 Events<\/b>\"]]","hide_toc":false,"footnotes":""},"categories":[12840,550],"tags":[],"class_list":["post-39764","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-marketing","category-tutorials"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Creating Events and Measuring Conversions in GA4 - DreamHost<\/title>\n<meta name=\"description\" content=\"Trying to figure out how to set up GA4 events and track conversions on your website? This guide will show you \u2013 step by step.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GA4 Events: How to Track User Interactions and Measure Conversions\" \/>\n<meta property=\"og:description\" content=\"Set up GA4 events and track conversions on your website in &lt; 10 minutes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-20T14:00:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-22T06:21:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Marketers-Guide-to-GA4-social-image.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"598\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Calvin Schneider\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"GA4 Events: How to Track User Interactions and Measure Conversions\" \/>\n<meta name=\"twitter:description\" content=\"Set up GA4 events and track conversions on your website in &lt; 10 minutes.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Marketers-Guide-to-GA4-social-image.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Calvin Schneider\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Creating Events and Measuring Conversions in GA4 - DreamHost","description":"Trying to figure out how to set up GA4 events and track conversions on your website? This guide will show you \u2013 step by step.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/","og_locale":"en_US","og_type":"article","og_title":"GA4 Events: How to Track User Interactions and Measure Conversions","og_description":"Set up GA4 events and track conversions on your website in &lt; 10 minutes.","og_url":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2023-03-20T14:00:22+00:00","article_modified_time":"2025-05-22T06:21:10+00:00","og_image":[{"width":900,"height":598,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Marketers-Guide-to-GA4-social-image.jpg","type":"image\/jpeg"}],"author":"Calvin Schneider","twitter_card":"summary_large_image","twitter_title":"GA4 Events: How to Track User Interactions and Measure Conversions","twitter_description":"Set up GA4 events and track conversions on your website in &lt; 10 minutes.","twitter_image":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Marketers-Guide-to-GA4-social-image.jpg","twitter_creator":"@dreamhost","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Calvin Schneider","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#article","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/"},"author":{"name":"Calvin Schneider","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/25809c3eb45fb163988c10d4aefff33d"},"headline":"Marketer&#8217;s Guide to Creating Events and Measuring Conversions in GA4","datePublished":"2023-03-20T14:00:22+00:00","dateModified":"2025-05-22T06:21:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/"},"wordCount":3179,"publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/marketers-guide-ga4-events.jpg","articleSection":["Marketing","Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/","name":"Creating Events and Measuring Conversions in GA4 - DreamHost","isPartOf":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#primaryimage"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#primaryimage"},"thumbnailUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/marketers-guide-ga4-events.jpg","datePublished":"2023-03-20T14:00:22+00:00","dateModified":"2025-05-22T06:21:10+00:00","description":"Trying to figure out how to set up GA4 events and track conversions on your website? This guide will show you \u2013 step by step.","breadcrumb":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#primaryimage","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/marketers-guide-ga4-events.jpg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/marketers-guide-ga4-events.jpg","width":1460,"height":1095,"caption":"marketer's guide to GA4 events"},{"@type":"BreadcrumbList","@id":"https:\/\/www-dev.dreamhost.com\/blog\/ga4-events\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dhblog.dream.press\/blog\/"},{"@type":"ListItem","position":2,"name":"Marketer&#8217;s Guide to Creating Events and Measuring Conversions in GA4"}]},{"@type":"WebSite","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#website","url":"https:\/\/www-dev.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www-dev.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www-dev.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www-dev.dreamhost.com\/blog\/#\/schema\/person\/25809c3eb45fb163988c10d4aefff33d","name":"Calvin Schneider","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Calvin-Schneider-150x150.jpeg","url":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Calvin-Schneider-150x150.jpeg","contentUrl":"https:\/\/www-dev.dreamhost.com\/blog\/wp-content\/uploads\/2023\/03\/Calvin-Schneider-150x150.jpeg","caption":"Calvin Schneider"},"description":"Calvin is VP of Data Science at DreamHost, responsible for delivering data-driven insights using customer and internal metrics. In his free time, Calvin enjoys traveling with his family, playing sports, and being a girl dad. Follow Calvin on LinkedIn https:\/\/www.linkedin.com\/in\/calvinschneiderphd\/","url":"https:\/\/www-dev.dreamhost.com\/blog\/author\/calvinschneider\/"}]}},"lang":"en","translations":{"en":39764,"es":39817,"pt":52375,"ru":52378,"de":56790,"pl":56799,"uk":56811,"it":68945,"fr":71470,"nl":71500},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/39764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/1074"}],"replies":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=39764"}],"version-history":[{"count":10,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/39764\/revisions"}],"predecessor-version":[{"id":61478,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/39764\/revisions\/61478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/39898"}],"wp:attachment":[{"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=39764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=39764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www-dev.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=39764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}