
Google Analytics 4 (GA4) for Beginners - Events in GA4 (Part 2)
While Universal Analytics (also known as Google Analytics 3) was mainly built around 'sessions', Google Analytics 4 is all about so-called 'events'. In the previous installment of Events in GA4 guide, we have briefly described the four categories of events in GA4. We have also taken a closer look at the first two categories of events: automatically collected events and improved measurement events. In this second installment, we will take a closer look at the third category: recommended events. This category will require a bit more time and energy to understand than the aforementioned two categories, but it will give you a good idea of how Google Tag Manager and Google Analytics 4 work together.
Note: In this guide we will use the terms 'Google Analytics 4' and 'GA4' as synonyms. In case we write 'GA4' you can read this as Google Analytics 4. This also applies to 'Google Tag Manager' and 'GTM'.
Note: This guide requires you to have already created a Google Analytics 4 account. If you have not yet created a GA4 account, please refer to this manual first. We also assume you have already created a Google Tag Manager account, added the GTM code to your website and linked a Google tag to your GA4 measurement ID. If you have not already done so, please refer to our Google Tag Manager for beginners guides after having read the aforementioned GA4 guide. We recommend that you return to this page only after this.
Note: Google has a habit of regularly changing the interface of Google Analytics 4. This means that the GA4 interface in our images may look different compared to the GA4 interface in your browser. This usually results in minor aesthetic differences, but in some cases, Google has moved around entire features. If you can't find the specific feature we are highlighting, please consult Google to see where the particular feature has been moved to.
Step 1 - What are recommended events?
As you've been able to read in part 1 of this guide on events in GA4, events can been seen as the interactions between your website visitors and your website or app. For example, when a visitor clicks on a link on your website, it will be counted as an event. So will scrolling down a page. Almost everything a visitor does on your website can be seen as an event. Some of these events will be collected for you by default (automatically collected events), while the collection of others can be enabled with the click of a button (enhanced measurement events). Recommended events, however, take a bit more effort to collect. Even though GA4 won't collect recommended events for you by default, Google deems them important enough to recommend you to collect these events egardless of the business sector you're in.
So, what are recommended events in Google Analytics 4? To begin, let's first take a look at Google's page on recommended events. This will give us an idea of the kind of events fall into this category. At the time of writing, Google has divided recommended events into the categories 'for all properties', 'for online sales' and 'for games'. In this guide, we will use an example from the category 'for all properties' to show how you can collect a recommended event, and ultimately find it in your GA4 reports. Obviously, this is not about the specific example, but rather about the steps we have to follow to collect a recommended event, as these step can also be applied to collect other recommended events.

Suppose you have just published an article on your website. In this article you have added several share buttons, so that your visitors can easily share the article on social media or in other places. Among these buttons, there's a button to share the article on LinkedIn. Let's say you want to know how often your visitors have shared the particular article on LinkedIn. In other words, how many times have visitors clicked the LinkedIn button?
To find out, we will use Google Tag Manager. Broadly speaking, the idea is that we will create a Google Analytics 4 event in Google Tag Manager. Every time the LinkedIn button is clicked, GTM will forward register it and forward it to GA4, where we will be able to see, among other things, that button has been clicked.
To start, you will have to log into your Google Tag Manager account.

A good starting point would be to use the Google Tag Manager preview mode first. The general idea behind using the GTM preview mode is to create a temporary connection between your website and Google Tag Manager. Through this connection, we will be able to see what data is sent to GTM by clicking the LinkedIn button. In practice, this means that we will have the preview mode active in one browser tab and the website page containing the LinkedIn button in another tab (or window). We will then click the LinkedIn button, switch over to the GTM preview mode tab and see if the click has been registered by GTM.
Firstly, activate the GTM preview mode by clicking the 'preview' button in the GTM overview screen.

On the next page, enter the URL of the page that contains the LinkedIn button, and click 'connect' afterwards. A new window or browser tab will then be opened by GTM, in which the URL you've just entered will be loaded.


If successful, you will see a message in both the GTM preview mode browser tab, as well as in the tab containing your website, that Tag Assistant has been able to create a connection between GTM and your website.

Now that a connection between GTM and your website has been established, we can now check what data will be sent by clicking the LinkedIn button. In the tab containing your website, click the LinkedIn share button. Then switch back to the tab or window containing the Google Tag Manager preview mode.

In the bar on the left-hand side of your screen, you will likely see that a link click event has occurred. In our case, this will be the click on our LinkedIn share button. In order to be able to measure clicks on the LinkedIn button, it is necessary that link click event is showing for you as well. If the link click is not visible for you, don't worry. It simply means you will have to enable click events in Google Tag Manager. If that's the case, follow step 1.1. If you do see link click here, keep the GTM preview mode active and continue to step 2 of this guide.
Step 1.1 - Click event not visible? Follow the steps below
If no click event is visible to you after having clicked the LinkedIn share button in Google Tag Manager preview mode, then you've likely disabled outbound click events in your enhanced measurement events. (For more information, see part 1 of our guide to events in GA4.) To make click events visible in GTM, you could enable the collection of outbound click events in GA4, which will automatically make click events visible in GTM. If for any reason you do not want to do this, please follow the steps below.
To make link click events visible in GTM preview mode, we will create a 'trigger' in Google Tag Manager. Even if we won't actually use the trigger, creating one will still make click events visible in the preview mode. The reason for it is that creating a trigger will turn on a so-called 'listener'. As the name suggests, these listeners continually listen if a specific action has taken place, in this case a link click. This is then fed back to GTM using a 'dataLayer.push', which you'll learn more about in a future installment of the guide on events in GA4. For now, just know that creating a trigger will make link clicks visible in GTM preview mode.

In order to create a trigger, in the bar on your left-hand side in the GTM overview screen, click on 'triggers'.

Here you click the 'new' button to create a new trigger.

On the next screen, click anywhere on the trigger configuration area.

You will need to choose a trigger type. Here, under the heading 'click', choose the option 'just links'.

The default settings don't have to be altered. Think of a fitting name for the trigger and save it. Seeing as we have just created a trigger, if all went well, click events should be visible to us in the GTM preview mode. To check whether everything is working properly, again, click the 'preview' button in top right corner the GTM overview screen. Like we did before, fill in the URL of the page containing the LinkedIn share button and click the 'connect' button. Even if you still had the GTM preview mode active, you will have to re-establish the connection so as to load our new settings. Again, Google Tag Manager will open a new window or browser tab in which the URL you've just entered will be loaded.
As we did earlier, in the browser tab containing your website, click the Linkedin share button. Then switch back to the tab or window in which you have the GTM preview mode active. You should now see a click event.
Step 2 - Search click event variables
If you haven't already, switch back to the browser tab in which you have the GTM preview mode active. In the bar to the left, you will see all the events resulting from your interaction with your website.

These events are clickable. Click on the 'link click' event.

After clicking on the 'link click' event, you will be shown more information about it. By then clicking on the 'variables' tab, you will be able to see all variables Google Tag Manager has collected about the event. As a reminder, variables can be thought of as containers for data. The data is stored these container and passed on to tags, triggers or external platforms. In the image above, you will see the variables of the event in the leftmost column and the values stored in them in the column farthest to the right. But keep in mind, this is the data which has been received by GTM only, not yet by Google Analytics 4.
You're probably wondering how useful this data actually is. Although it might not necessarily look like it, this data is actually very useful. The general idea is to determine on the basis of one or more of these variables if the LinkedIn share button has been clicked. This will become our so-called 'trigger'. Once we have created a trigger, we will be able to forward the data on the click to Google Analytics 4. However, we do not want to make the trigger too specific, as we might want to use it on other pages with a LinkedIn share button.
To create a trigger, we will first need to see which of the variables in the image above can be used to determine whether or nog the LinkedIn share button has been clicked.

To find out, we have to switch back to the browser tab (or window) in which our website is loaded. Make sure that the GTM preview mode is still active. In the bottom right corner of your screen a Tag Assistant notification should display the message that Tag Assistant is still connected. You will also see a specific shape, in a specific color. In our case this is a purple circle, but in your case it might be a different shape in a different color. The same shape, in the same color should also be visible in the GTM preview mode tab, which lets you know that it is the same connection. This can be especially useful if, for example, you have multiple preview modes open at the same time. When reloading the preview mode, a new character and/or color will be assigned to the session.
In the browser tab (or window) in which your website is loaded, instead of clicking the LinkedIn share button, this time click on one or more other buttons. After doing so, switch back to the GTM preview mode browser tab.
Tip: While clicking on a link, hold down CTRL or CMD. This will make the link open in a new tab rather than your current tab.

In the GTM preview mode tab, you will see the same shape in the same color (In this case a purple circle) as the one in the Tag Assistant notification. You will also see one or more new events in the bar on your left-hand side. The amount of new events depends on the amount of buttons you have clicked on your website. Click on one of the new link click events.

After clicking on the 'variables' tab again, you will see an almost identical overview compared to our LinkedIn click event. As a reminder, we need to determine when our LinkedIn button has been clicked based on one or more of these variables. But, if the variables of our LinkedIn button click event are almost identical to the variables of other click events, we cannot distinguish between these click events.
Fortunately, there are other click-related variables we can use to make this distinction. We just cannot see them yet, because are yet to be enabled. To enable these variables, return to the Google Tag Manager overview screen.

In the menu on your left-hand side of the screen, click 'variables'.

Next, click on 'configure'.

In menu which will slide in from the right, scroll down until you see the heading 'clicks'. All you have to do here is check all the click related events under it, as shown on the image above. This will enable these click events in the GTM preview mode as well. Curiously, these variables are currently turned off by default. Luckily you will only have to turn them on once.
After having enabled them, (re)load the GTM preview mode like we have done before. In the tab/window containing your website, click on the LinkedIn share button as well as on a number of other buttons. In our example, we have click not only on our LinkedIn share button, but have also clicked the Facebook share button as well as our logo (which is also a link). After doing so, switch back to the tab to the GTM preview mode browser tab, and click on the link click event related to the click on the LinkedIn share button. (If you clicked the LinkedIn button before any other button, it will be the click event nearest to the bottom.)

As is visible in the image above, after having enabled the click events in the variables section of Google Tag Manager, more variables are visible. To be exact, all the built-in click variables we just enabled are now visible to us. It might look a bit confusing, but everything you see in the image above has to do with us clicking on the Linkedin social media share button. The most important columns are the leftmost column and the column to the far right. In the leftmost column you will see the actual variables. In the column to the far right you will see the values of these variables. As a reminder, variables are a kind of 'containers' for data. The values in the rightmost column are the data stored in these containers (left column). Since we are trying to determine when a visitor has clicked on our LinkedIn share button based on one or more of these variables, we are looking for something in this date which lets us recognize this button.
Let's take a look at the data available to us. If we look at the first line in the rightmost column, we see the value 'gtm.linkClick'. This is an event which is automatically triggered by GTM as soon as a link is clicked. This means that everytime time a link is clicked, regardless of which link, you will see this value in the GTM preview mode. This makes it unusable for our purposes. If we were to use this value, we wouldn't be able to distinguish between a click on our LinkedIn share button and a click on any other link. On the second line, you will see the value 'linkedin', which belongs to the variable 'Click Classes'. This sounds like a value we can use to distinguish our LinkedIn button from other buttons on the page. (Copy-paste this value in a note; you will need it later on.) But how can we be sure this is really the case? We can do this by checking whether a different value is shown for other click events (for other buttons).

Let's check out a different link click event. In our example, we use a link click event from a click on the Meta/Facebook share button.

When we check the variables of our Facebook/Meta share button click event, the value for the 'Click Classes' variable is 'facebook'. This means that we might be able to use the Click Classes variable to distinguish our LinkedIn button from other buttons. Just to be sure, we will also take look at the variables of yet another link click event.

Aside from clicking the LinkedIn and Meta share buttons, we have also clicked on our logo at the top left of our website (which in this case is also a link). The variables in the image above are the result of that click event. As you can see, the value of the Click Classes variable is now 'brxe-logo'. Seeing as the value seems to be different for each link click event, it means we can use the Click Classes variable to distinguish the LinkedIn share button from other buttons.
Step 3 - Create a trigger
Now that we know how to distinguish clicks on the LinkedIn share button from clicks on other buttons, we are going to create a trigger and a tag. As a reminder, a trigger controls when a tag is fired and executed. Think of it as the condition that must be met before the tag will become active and execute. A tag is a piece of code which is loaded as soon as it is triggered by the trigger. This will send the button click data to Google Analytics 4.
Note: We have chosen to create the trigger first and the tag afterwards. You will usually do it the other way around, but to properly explain how they go together, it's better to create a trigger first.

In the Google Tag Manager overview screen, click the 'triggers' button.

In case click events were not visible to you at step 1, and you therefore had to follow step 1.1, you will already have had the chance to create a trigger. If so, you can select the trigger and alter its settings to resemble the settings we will describe below. If you haven't yet created a trigger, please click the 'new' button.

To create a trigger, we will first have to choose a trigger type. To do so, click anywhere in the trigger configuration field.

Under the heading 'click', choose the option 'just links'. This trigger type will only fire when a link is clicked. Seeing as our LinkedIn share button is in essence a link, this trigger type will fit our needs best.

You will then be presented with several options. Choose the option 'some link clicks'. After all, we do not want to fire the trigger with every click. Only clicks on our LinkedIn share button should fire the trigger.
Since we have chosen 'some clicks', we will have to specify what we mean by 'some'. In other words, what are the conditions to fire our trigger? Remember us figuring out that we can distinguish a click on our LinkedIn button by having the variable 'Click Classes' containing the value 'linkedin'? Well, this is where we can put it into practice. In the leftmost box, select the variable 'Click Classes'. Select 'equals' for the box in the middle. The rightmost box should contain our value, which in our case is 'linkedin' (without the ' '). It is very important that we enter the value exactly like we saw in the GTM preview mode (minus the ' '), which is why we adviced you to copy-paste the value in a note, so you can now copy-paste it into the rightermost box. Make sure to remove any leading or trailing spaces.

Enter a descriptive name and save your trigger. In our example, we have chosen the name 'Link click - LinkedIn share button'.
Step 4 - Create a GA4 event tag
Having only a trigger will do next to nothing. A trigger has to trigger something, in our case a tag. An event tag, to be more specific. In this step, we will create an event tag with which we can forward LinkedIn share button click data to our GA4 property.

In the Google Tag Manager overview screen, click the 'tags' button.

To create a new tag, click the 'new' button.

Click anywhere in the tag configuration field. This will let us choose a tag type.

Then, click 'Google Analytics'.

Choose the 'Google Analytics: GA4 event' tag type. This is the GA4 event tag we will use to send the LinkedIn share button clicks to GA4

Enter your measurement ID. This is the measurement ID you previously used to create a Google tag, which allowed you to connect Google Tag Manager to Google Analytics 4. If you don't know your measurement ID, go to back to the GTM overview screen and click 'Tags'. Then click the Google tag you've created earlier. There you will find your measurement ID under 'tag id'.
After having entered your measurement ID, we will need to enter an event name. Google gives us a lot of flexibility in naming events. For example, you're free to come up with a name yourself. However, we would advise you to use Google's own naming convention, because it is easier for GA4 to recognize the values paired with these event names. Let's take a look at Google's documentation.

If we look at the events which Google recommends for all properties, we see that there is a share event in the list, which is very appropriately called 'share'.

Seeing as Google's naming convention is to use 'share' as an event name for sharing content, we will follow suit and use 'share' as our event name. Simply manually type into the event name field or copy-paste it from the documentation. Make sure to remove any leading or trailing spaces.
In addition to the event itself, we will also send a few extra pieces of data along with the event. These extra pieces of data are called 'parameters'. Parameters will let GA4 (and therefore us) know what exact button has been clicked. Without manually specifying these parameters, GTM will send a number of parameters along with the event by default. However, these will not always suffice.
Wait, didn't we do that already? Haven't we already let GTM know to distinguish the Linkedin share button based on the 'Click Classes' variable and the corresponding 'linkedin' value? Yes and no. (It's understandable if this is confusing.) The situation is as follows: as soon as someone clicks the the LinkedIn share button, GTM will collect a link click event and see that the value of the 'Click Classes' variable is 'linkedin'. This, in turn, will trigger the GA4 event tag in GTM, which wil send data to GA4. However, even though the value 'linkedin' has triggered the GA4 event tag, it doesn't mean that the value 'linkedin' will be sent along with it to GA4. The 'linkedin' value is just what has triggered the GA4 event tag. We will also have to manually instruct GTM to send the 'linkedin' value to GA4, so that we can distinguish between a click on the LinkedIn button and a click on any other button. This is where parameters come into play. We will send the 'linkedin' value as parameter along with the GA4 event to Google Analytics 4.

To add a parameter, firstly click on 'event parameters' to show additional options. Then click on 'add parameter'. Two fields will appear in which you can enter the parameter name and value respectively.
When it comes to naming, it's always advisable to check whether or not Google recommends using a certain name.

We will again return to Google's documentation on recommended events. As you know, we chose 'share' as event name because Google recommends us to do so. When we click on the 'share' event name in the documentation, we will get to see some example parameters we can choose to send alongside the event.

Google gives us three example parameters we may send along with the event. If we look at the first example value, it says 'Twitter'. This will fit our needs. We will just have to replace the value with 'LinkedIn', seeing as our button will share the article on LinkedIn rather than Twitter (or now X).

In the field on the left, manually type the word 'method' (without the ' '). In the on the right, manually type the name of the social media platform. In our example, this is of course 'LinkedIn' (without the ' '). For both, make sure you don't accidentally enter any leading or trailing spaces.
Although the method parameter together with the parameters that are sent by GTM by default (such as the URL of the page) would actually be sufficient, we will add an extra parameter, just to be able to drive home the idea of how to go about adding a parameter.

If we go back to what we saw in the GTM preview mode after clicking the LinkedIn share button, we see a 'Click URL' variable. This is the URL that will be loaded when a visitor clicks the LinkedIn share button. Although this data might not necessarily be useful social media share buttons, for regular links it's actually incredibly useful. After all, redirecting a visitor to a different page is generally the purpose of a link, and knowing the most popular URL destinations will give you a good indication of what is useful to your website visitors. So, let's add the Click URL as a parameter to be sent along with our GA4 event.
Like before, we should think about what name we should give it. The first step, generally, is to take a look at Google's documentation. However, when we look at the documentation for recommended events, there's no 'Click URL' parameter to be found. Luckily, there's another name we can use. If you have followed part 1 of our guide to events in Google Google Analytics 4, you have come across enhanced event measurement. These are events GA4 will collect for your automatically after you have enabled enhanced event measurement. One of these events is outbound clicks. Seeing as our LinkedIn share button is an outbound click, we should be able to use its name.

If we look at Google's documentation on enhanced event measurement, you will see 'link_url' as a parameter for outbound clicks. We can also be able to use this parameter name to send along with our GA4 event.
But, if outbound clicks are automatically measured for us through enhanced measurement events, why do we have to manually add it as a parameter for our GA4 event? Well, GA4 will automatically collect outbound click URLs for us through enhanced measurement events, but it will do so separately. Through improved measurement events, outbound clicks are tracked by GA4 as standalone events. They won't automatically be paired with our GA4 LinkedIn share button event. If we want to include this data, we will have to manually set it up like we're doing now.

In the field on the left, type or paste the word link_url. Again, be sure to remove any leading or trailing spaces.
In the field to the right, we will use a variable. What's convenient about using a variable is that it contains a dynamic value. In essence, this means that its value will be automatically filled in by GA4 based on the particular situation. If the situation changes, the value will change with it. For example, if a visitor would click a LinkedIn share button for a different article, the URL for that particular article would be sent with the event.

To choose a variable, click the icon next to the value field.

Choose the variable 'Click URL'.

The value {{Click URL}} will be filled in for you automatically. The curly brackets show that their value is dynamic.

Now, we will have to select a trigger. Fortunately, we have already created our trigger in step 3. Click anywhere on the triggering field to select a trigger.

Here you will need to choose the trigger we have made at step 3.

Finally, name your event tag and click 'save'. It is advisable to use a certain format for your tag names, so that you will be able to see at a glance what the tag does. For example, tag type > tag name > addition. In this case, GA4 event is the tag type, share is the tage name and LinkedIn is additional information about the tag., share is de naam van de tag en LinkedIn is extra informatie over de tag.
Step 5 - Test your new tag in Google Tag Manager
Now that we have created and configured both the GA4 event tag as well as the trigger, it is time to test whether or not everything works. We strongly recommend testing in both Google Tag Manager and Google Analytics 4. Let's first run a test in Google Tag Manager.

In Google Tag Manager we will test it out using our trusty GTM preview mode. Open the preview mode via the 'preview' button in the Google Tag Manager overview screen.

Enter the URL of the website page which contains your LinkedIn button and click 'connect'. After a connection has been established, we can test whether or not the trigger and GA4 event tag are working properly by clicking the LinkedIn share button, as well as one or more other buttons.

Switch back to the GTM preview mode browser tab. In the bar on the left side of the screen, you will see one link click event for each button you have clicked on your website. In our example, we have our LinkedIn share button as well as two additional buttons. As can be seen in the image above, this has resulted in three link click events in GTM preview mode. Click on the link click event belonging to you LinkedIn share button click. (If you have clicked the LinkedIn button first, it will be the click event nearest to the bottom.)

In the 'tags' tab of our LinkedIn share button event, we will see that our GA4 event tag has been successfully activated. (Your Google tag has already been activated during the 'initialization' phase rather than during the link click event. That is why the Google tag has been placed under the heading 'tags not fired' heading.) To compare, let's check out the other link click events to make sure our LinkedIn event hasn't accidentally fired there as well.

When we look at the other click events, we see that our LinkedIn share button event tag has not fired, which is what is supposed to happen.
Tip: To get more information about why a tag has or has not fired, you can also click on the tag itself. This can be very useful if tags and triggers don't work as you expected.
Step 6 - Testing our new tag in GA4 DebugView
Now that we have tested our new GA4 event tag in Google Tag Manager, we still have to test whether or not the data is visible in Google Analytics 4. For this, we will use GA4's DebugView. Make sure you do this right after you've tested in the GTM preview mode, because we need to make sure the same data has been received by GA4.

To start, log into your GA4 account and click on the gear icon in the bottom left corner to go to GA4's admin section.


Then, click 'DebugView' in either the menu on your left-hand side or in the Data Display section.

You will see something similar to the image above. However, it might some time for the events to reach your DebugView. If no data is received after waiting a while, please repeat the part about clicking the links in GTM preview mode until GA4's DebugView populated with said events.
As can be seen in the image above, our share event has been successfully received in GA4. Click on 'share' to get more information about the share event.

Once you have clicked the share event, all parameters sent by GTM will become visible. As can be seen in the image above, the method and link_url parameters we manually added to our GA4 Event tag have been sent along with it. Based on this we can conclude that everything is working properly and that we can let the tag go live for all visitors.
Step 7 - Publish the tag in Google Tag Manager
Now that it has been proven that our new share tag works in both GTM and GA4, we can let the tag go live for all website visitors by publishing it. To do this, we have to switch back to Google Tag Manager.

From the overview screen in Google Tag Manager, click the 'submit' button.

Here you come up with a descriptive name to publishing the changes we've made. You can, of course, do so according to your own wishes. Just be sure to use a name which will tell you in a glance what changes you have pushed live. If, for any reason, you will need to revert to an earlier version at a later time, you will have to do so based on these descriptions. If such a moment occurs (and it will), you will not have to sift through all the versions you've published just to find the right one. You might also want to shortly mention what is new in the version description field.
Once you're done, click the blue 'publish' button at the top right, which will make the new version go live. It will take at least 24 hours before you can see the new data in your GA4 reports.
Step 8 - Register parameter as custom dimension in GA4
As you know, we are sending an event called share to GA4, along with two additional parameters called link_url and method. Seeing as we have used the exact terms Google uses in its documentation, GA4 will recognize them automatically. However, this will not always be the case. There will be situations in which you will have to come up with your own names. This means these names won't be recognized by GA4 automatically, which, in turn, means we will perform a number of actions to make them usable in our reports. You will come across this situation. So, even if you have followed along and used Google's own names, please read along with us.
Even though we have used Google's own terms in this guide, let's pretend that's not the case. Let's say that we came up with the method parameter name ourselves and that it isn't one which is recognized by GA4 automatically. To make Google recognize it, we will have to register the parameter as a so called 'custom dimension'. We strongly advise you to do so as soon as possible. Ideally, this is done right after publishing your GTM container, so that this parameter can be collected right away.
Note: Keep in mind that there is a limit to the amount of custom dimensions we can register in GA4. At the time of writing, free accounts allow you to register up to 50 custom dimensions (text) per property and up to 50 custom metrics (numbers). Check Google's documentation for the current limits.
To register a custom dimension, navigate to the admin section in GA4 via the gear icon at the bottom left corner of the home screen.


Click on 'custom definitions', either in the menu or in the data display section.

Next, make sure the 'custom dimensions' tab is selected. Then click the blue 'create custom dimension' button.

Enter a name for your heading in the field under the heading 'dimension name'. If necessary, may change this name later on. In our example we have chosen the name 'LinkedIn button parameter'. Under the 'scope' heading, select 'event'. You may also add a description below. Under 'event parameter', enter the parameter you would like to measure. (See image below.)

As a reminder, the event parameter we need to fill in is the event parameter we came up with in Google Tag Manager during the creating of our GA4 Event tag. (Step 4 of this guide.)

Be sure to enter the parameter name exactly as you have written it in Google Tag Manager, and remove any leading or trailing spaces. It is possible that GA4 will automatically recognize your event parameter in the event parameter box. If so, simply select it. If this is not the case, don't worry. Simply type in the event parameter manually. When you are done, click the 'save' button in the upper right corner. You will need to wait 24-48 hours before GA4 will have implemented the changes.
Step 9 - Finding recommended events in GA4 reports (part 1)
So, where we see our new LinkedIn share event in Google Analytics 4? As you know, Google is constantly tinkering with Google Analytics 4. It could well be that by the time you read this Google has already changed the reports section. If that is the case, just navigate to the reports section and search for 'events'.

You can find our LinkedIn share event in several places, one of which is in the standard reports. Navigate to it by clicking on the reports icon at the top left. (It's the second icon from the top.) Then under 'engagement' you will find 'events'. Click on it.

Here you will find the data on our new share event. When you click on 'share' you will see more information about our new LinkedIn share button event.

Here you will see, among other things, the custom dimension we have registered with the name 'LinkedIn button parameter', as well as how often this value has been received by GA4.
Step 10 - Finding recommended events in GA4 reports (part 2)
Perhaps the best place to view our LinkedIn share button data is in the exploration reports.

You can find the exploration reports by clicking on 'explore' (third icon from the top) on the left-hand side of your screen in GA4. Then click the blank canvas to start with an empty report.

On the left-hand side of your screen, you will see a heading called 'variables'. Here you can add things which consequently be visualized on the canvas on the right side of the screen, including dimensions and metrics. Simply put, dimensions are what you are measuring, while metrics are the amount of it. Dimensions consist of words, metrics consist of numbers. For example, when we measure how many times our LinkedIn share button has been clicked, the name of the event will be a dimension and the number of times it is clicked will be a metric. If you were to view it in a tabular format, the dimensions would be the row or column labels. The metrics would be the values in the columns.
First of all, we're going to add the dimensions. Click the '+' sign next to 'dimensions'.

As you can see, there are quite a lot of dimensions. That's why it is very useful to use the search bar at the top.

Firstly, we are going to add our LinkedIn share button event. Seeing as our LinkedIn share button event is an event, we will add events to our dimensions. In the search bar at the top, type 'event name'. The dimension 'event name' will then appear below it. Place a checkmark in front of it. Right after, click the X in the seach bar to clear the search. We are now going to search for the parameters we have added to the share event. Let's first add our link_url parameter. GA4's name for it is 'Link URL', so type it in the search bar, place a checkmark in front of it and click the X in the seach bar to clear the search. Since we have registered our method parameter as a custom dimension, we will have have to search for the name we have registered it under in GA4, which is 'LinkedIn button parameter'. Type it in the search bar and place a checkmark in front of it. After having added the our LinkedIn share button event and both our parameters, we can click the blue 'import' button at the top to import them all at once.

As we can see, all of the dimensions have been added. We will now add the metrics by clicking on the '+' symbol under the 'metrics' heading.

Similarly to when we were adding our dimensions, we can use the search bar to find and add the right metrics. Use the search bar to add the 'Total users' and 'Event count' metrics.

Now that we have added both the dimensions and metrics, we will need to select the ones we want to visualize on the canvas to the right. Remember how we mentioned that in a tabular format, dimensions would be the row and column labels metrics would be the values in the columns? That's why we will add the dimensions to the rows section.


Click on the top button in the rows section to add a dimension. Then click on 'event name'. Also do this for 'link URL' and 'LinkedIn button parameter'.

Now that we have added all the dimensions to the rows section, it's time to do add the metrics to the values section.


Similarly to adding the dimensions, click on the '+ Drop or select metric' button to add our metrics. Add both the 'total users' and 'event count' values.

Next, we'll add a filter. You will be using filters quite regularly in GA4. Seeing as we have added the dimension 'event name', our visualization will show all available events, because 'event name' covers all events. This is obviously not what we want. We are only interested in seeing data about our LinkedIn share button clicks. This is where filters come in. Using a filter, we will be able to filter out all other events and be left only with our LinkedIn share button event. To create an filter, click the button in the filters section.

Select 'event name' to use it in our filter.

Next, we will have to create a condition for our filter to work. Filter conditions are like rules or criteria for a filter. Ask yourself, how can we make sure to see only the data on the LinkedIn share button and not on other events? What rule or condition can we come up with to let GA4 differentiate between data on our LinkedIn share button and other events? As it turns out, we can do this in several ways, depending on how granular you want you filter to be. For example, remember how we named our GA4 event 'share' in Google Tag Manager? In this filter we can have the condition be that the name of the event should be 'share'. To do so, click the dropdown menu under 'conditions' and select 'exactly matches'.


We will then have to select the expression, which in our case will be 'share'. First, click the 'enter expression' field.

Select 'share' as your expression and select 'apply'. We have now created a filter which will show all events which have 'share' as their name. Since we currently have only one GA4 share event active in Google Tag Manager (our GA4 LinkedIn share button event), this will show us the data we want. However, since we might add other share events in the future, it would be more practical to add another filter. For instance, we could say that the value of the LinkedIn button parameter should be 'LinkedIn', which would exclude any events other than our LinkedIn share button event.

To add an extra filter, click the '+ Drop or select dimension or metric' button. This time, select the dimension 'Linkedin button parameter'. Then, select 'exactly matches' as our condition, 'LinkedIn' as our expression, and select 'apply'.


Finally, make sure you have the table icon selected under 'visualizations'.

On the canvas, you will see a table with our LinkedIn share button data. In it, you will see an event called 'share', with two parameters, which has been clicked eleven times by one user, which is me. If you have read or followed along, great job! Even though that probably felt like a lot, it will become easier the more you do it.
This brings us to the end of part 2 of our GA4 for beginners guide where we looked at recommended events in GA4. In our next installment, we will take a look at custom events.