In this post I’ll show you how to create a new Property in Google Analytics 4. Then I’ll use Google Tag Manager to pass the information from the website to GA4 by using the GA4 Configuration Tag.
This is the path we’ll follow:
- Create a new Property in Google Analytics 4
- Set up the Data Stream
- Create the tag in Google Tag Manager
In the Google Analytics Admin panel, we need to create a new Property:
Now we need to enter several information:
- Property Name
- Time zone
By taking these steps, Google offers the possibility to create, at this time, a specific Property for the Universal Analytics (UA) version. How? By clicking on Advanced Options:
If you already have a UA Property, you can simply go to the next steps. If this is the first time setting up your Google Analytics account, then I recommend that you also create the Universal Analytics Property. Right now, as GA4 continues to evolve day by day, I suggest having both GA4 and the UA Property.
In the next step, you can select (recommended) several information about your website:
- Industry category
- Business size
- How you’ll use GA for your business
Now we need to select which platform we’re going to measure: an App (iOS or Android) or a website. In my example, I’ll select Web:
Once the platform has been selected, we’re going to choose the web stream:
- Website URL
- The Stream name
- Which enhanced measurement we want to be tracked by Google Analytics
Into Enhanced Measurement, GA4 is going to track several interactions of the users. I suggest you to leave all the options selected, unless you have already prepared a detailed measurement plan where you exactly know what you want to measure. Please note, that every time you want, you can simply enable or disable the enhanced measurements, as you can see in the image below:
Let’s save the set up of our data stream.
A screenshot shows us every steps we have set up till now.
Let’s see the entries in order to better understand them:
- In this block you can see all the information added in the previously steps and you see the Measurement ID that we will use in GTM in the next step;
- This box indicates how to pass data to Google Analytics: Global Site Tag (has a code to copy in the <head> section of the website), Google Tag Manager (implementing the tag via GTM offers a more robust solution) or Use existing on-page tag (use an already existing tag);
- In this block there are additional settings that allow you to: set the tag for further properties, set a series of values (modify or create events, set up multiple domains, filter internal traffic to get cleaner data) or set the procedure for sending the information to GA via the Measurement Protocol;
The aim is to pass information on user behavior from the website to Google Analytics 4.
Create a new tag with the following features:
- Tag Type: Google Analytics: GA4 Configuration;
- Measurement ID: here we need to copy and paste the tracking code provided by Google Analytics, seen before;
- Trigger: All pages;
Another advantages GA4 offers over UA is that the IP addresses are now automatically anonymized, without having to manually add this parameter in the GTM tag.
Now let’s save the tag and publish it.
Once you’ve done, you can check if the data are correctly coming into your new Google Analytics 4 Property.
Check this in the Realtime report (pay attention: it may take several minutes to see the realtime report active, especially on the map):
In this way you have created a property with the new Google Analytics 4.
As you can read, it’s very easy to implement GA4, but I have to say that you’ve to also pay attetion to the cookie consent.
To be compliant about this, you can simply change the trigger type (All Pages) in order to fire the GA4 tag only if the users accept the statistics cookie and you still need to inform them about the data collection.
In this post, my purpose has been to show you how to implement the Configuration tag for GA4. If you want to take a step further, I suggest you to read the complete guide of Simo Ahava about the Events implementation.
Stay tuned to read other posts on GA4.
You may also be interested to the following articles:
- Google Analytics 4: source/medium reportOne of the most popular reports within the Universal Analytics version is definitely the Source/Medium Report. In this Report, you can quickly observe the source and medium of users landing on the website. In UA we can find it under Acquisition > All Traffic > Source/Medium The new version of GA4 offers many features but […]
- Landing Pages Report in GA4One of the most interesting reports in Google Analytics – Universal Analytics is the Landing Pages Report. In this report you can observe the first landing page of a user on the analyzed website. It’s a very useful report to quickly understand what our user’s entry points are. However, the question may arise: how do […]
- Google Analytics 4: ComparisonIn this post, I’ll show you how to compare data in Google Analytics 4. Just as with the UA (Universal Analytics) version, where you can use segments to better analyze your users’ behavior on the site, GA4 offers a similar feature. However, there are some nuances, compared to the UA version. Compare data in GA4 […]
- Search Console and Google Analytics 4In this post I will show you two things that I find very useful: Connect the Google Search Console directly to your Google Analytics Property 4 Save a widget for faster access to Search Console data in the GA4 User Interface Let’s start! How to Link Search Console to GA4 Property The steps to link […]
- How to Change Language in Google Data StudioGoogle Data Studio is a great data visualization tool that is completely free, allowing you to connect different data sources to create dashboards. Some of the available data sources are: Google Analytics Google Sheets Google BigQuery File in .csv etc. The sources are different and, as you have seen, they are not only from the […]
- How to Implement Content Group in Google Analytics 4Content Groups allow you to create sections of the website, grouping contents in a convenient way for your analysis. Let’s give some examples: I can create a specific group that shows me the most viewed Brands on my website or I can create Product categories to analyze, at a higher level, the interactions of users […]
- Server-side Tagging: what is it?Update: October 5th. Google Tag Manager Server Side is officially out of Beta, as confirmed by Google, and has entered a new phase. Announced in August 2020, Google Tag Manager Server-side is still a tool / theme unknown to most. There are many doubts and questions on the subject and in this post I want […]