You are on page 1of 48

Google Analytics 4

Index

★ Creating New GA 4 Property


★ Upgrading the Universal Analytics to GA 4
○ Setting Up GA4 Using GTM
★ Connect GSC with GA4
★ Setting Up Goals / Events in GA4
○ Method 1: Using GA4 Dashboard
○ Method 2: Using GTM Dashboard
★ Excluding the IP Filters in GA4
★ Referral Exclusion in GA4
★ Site Search Setup
★ Enable Demographics Setting in GA4
★ Data Retention in GA4
2

Creating New GA 4 Property


➔ Go to the Analytics Dashboard and Click on the Admin
3

➔ From the Admin Section, Navigate to the Account Section and Click on
Create Account

➔ From the Account Setup, In the First Step Add the Account Name (Website
Name)
4

➔ In the Account Data Sharing Settings, Check all the items and click on the
Next

➔ Now, We will be setting up the Property for GA4. In the Property Setting,
Give Property Name (Ideally the Website Name) , Select the Reporting
Time Zone and Currency

➔ Now If we have to Create GA4 Property as well as Universal Analytics, Go


to the Advanced Settings and ON the “Create a Universal Analytics
property” , Then put the website URL and select Create both a Google
5

Analytics 4 and a Universal Analytics property to setup both Universal


Analytics and GA 4

➔ Now Click on the Next and It will navigate to About your business in this field
select the Industry category, Business size and How do you intend to use Google
Analytics with your business, and check all the options that apply for the
business category and click Create
6

➔ Then Accept the Google Terms and Click on the Accept button
7

➔ The next step is to set up the Data Stream. Select the Platform as Web as we are
going to install the GA 4 on Web Property

➔ Now Add the Data Stream details. Add the Website URL and Stream name as
website name and click on Create Stream. By Default GA4 enables Enhanced
8

measurement so keep that enabled to track the pageviews, scrolls, outbound


links, file downloads, and external links events

➔ Once you click on Create Stream, a pop-up window will appear that will contains
the Stream URL, Name, and Measurement ID

Now follow the Steps added here to Setup the GA4 using GTM

Upgrading the Universal Analytics to GA 4


● If we have existing Universal Analytics Property and need to upgrade it to GA 4
then follow the following steps:
○ From the Admin Setting, Under the Property Setting click on the GA4 Setup
Assistant
9

○ Next under the Google Analytics 4 Property Setup Assistant window Click
on Get Started under: “I want to create a new Google Analytics 4 property”

○ This will open a pop-up to Confirm Create a Google Analytics 4 property,


Copy basic settings from your Universal Analytics property and Activate
enhanced measurement so you can go deeper than page views to
measure user behavior and content success. Click on Create Property
10

● This will create a GA 4 Property, will show the Property ID along with the View
Name
11

● Next, click on the See Your GA4 Property, it will open a new window with GA 4
Setup Assistant

● Under the Setup Assistant, In order to Install the GA 4 Tag, Click on Tag
Installation and this will navigate to the Data Stream. Data Stream is a flow of
data from your website or app to Analytics. There are 3 types of data stream:
Web (for websites), iOS (for iOS apps), and Android (for Android apps). In most of
our cases, we will be using Web for websites

● In the Top Right of the Web Data Stream, there is an Arrow key click on it
12

● It will navigate to the Web Stream details including Measurement ID

● Copy the Measurement ID and Navigate to the GTM

Setting Up GA4 Using GTM

● Open the Workspace for the respective property and create a new tag. Give the
Tag a descriptive name
● Click on the Tag Configuration and Under the Tag, Configuration select Google
Tag
13

● Paste the Measurement ID that you copied from the GA 4 Web-Stream

● Next, From the Configuration Settings, use Configuration Parameter as


send_page_view and value should be true

● Next, Navigate to the Trigger Configuration


14

● Under the Trigger Select All Page views

● Now the Container will look like and save the Container
15

● Now, Let’s test the Tag if that fires using the Preview Mode

● GA 4 Also offers a Debug view to track if tracking is working on not using GTM
Preview so we can track that on both the places
● In GA4 , In the Top Left side, we have Debug View as a menu item so click on that
as well
16

● So when we did the preview through GTM, Tag Fired on Pageview event

● At the same time, You can view the Debug Window in Google Analytics, it will
show the pageview event fired so now we are all set and can publish the GTM
container
17

For a Note Here: Currently Tag Assistant Doesn’t support GA 4 so if you see an instance
where GA4 is installed, you may see a message in Tag Assistant to Add Analytics
Tracking code

Connect GSC with Google Analytics 4


18

There are two ways how the connection can be made: from the Google Analytics 4
interface, or from the Google Search Console UI.

In Google Analytics 4 property, go to Admin > Search Console Linking.

In the top right corner, click Link.

Then select on Google Search Property. Click Choose accounts.


19

A new list will appear with properties where you are a verified site owner. Choose one
property and then click Confirm. You can link only one GSC property with one GA4
property/web stream.

Then you will need to select a web stream you want to link with that Search Console
property. Click Select and then choose the stream.
20

In the final step, you will have to review everything and click submit.

After that, you will see a green badge Link Created. This confirms that you have
connected two properties successfully.
21

Setting Up Goals / Events in GA4


● There are two ways we can create goals in GA4:
○ With Google Tag Manager
○ In the GA4 dashboard

Method 1: Using GA4 Dashboard

● First Navigate to the Events

● Click “Create Event.”


22

● It will open a window to Create Event so click on Create Event

● Here is where we will add our parameter. Give the event a name, Make sure to
use Small letters while giving event a name, instead of space use underscore
while giving the event name
23

● Next, under Matching Conditions, select your parameter from the dropdown.
Since this is a destination goal, we’ll select the page_location parameter. Next,
select your operator. We are going to use Equals here. Finally, input your value,
which is the ending text of your destination URL.
24

● Click “Create” in the upper right-hand corner.

● Now you should see your goals listed under Custom Events.
25

A very important detail: Even though we’ve created our custom event, it will not appear
as an existing event until it is triggered. Once triggered, then we can mark it as a
conversion. Also it will take up to 24 Hours to Show that Event under Conversion

● Now we can debug it using GTM to see if event is firing or not, You can see that
Event Got fired and you can see that after 24 hours in the event reports
26

Date: 09/03/20XX
Method 2: Using GTM Dashboard

● Login into the Tag Manager Account and Click on the Tags from Left-hand side

● Click on the “New” Button to create a tag

● Give a Proper Name to the Tag and Click on Tag Configuration


27

● On the Right-hand side with a list of Tag templates, select "Google Analytics: GA4
Event"

● The Tag Configuration window will open like below. Click on the "Select
Configuration Tag"

● Since you have already configured the GA4 Tag, Select the GA4 Tag from the List
28

● Now give a meaningful event name as this event will be marked as conversion

● Now Configure the Trigger for the event and the Tag will look like:
29

● Now test it with GTM Debug and GA 4 Debug Window

GA4 View:
30

All Set Here, We can Publish the GTM Container and if within 24 Hours if there are any
goal completion, GA4 will show that under the Conversions and from there we can On
those events to be marked as Conversions

Excluding the IP Filters in GA4

➢ Go to the Admin for the GA4 Property

➢ Under the Property Settings Click on Data Stream


31

➢ Under the Data Stream, Click on the Web Data Stream

➢ Under the Web Stream Details, Click on the More Tagging Settings
32

➢ Under the More Tagging Settings, Click on the Define Internal Traffic

➢ Under the Define Internal Traffic, Click on the Create to create Internal Traffic
Rules
33

➢ Now define the Different Sections under to exclude the IP Addresses.

○ Rule name - Filter Name that needs to be Descriptive


○ traffic_type value - By Default the value is set to internal but we can enter a
new value (e.g., coalition_ip) to represent a location from which internal
traffic originates.
○ In the IP Address Section, select the IP Address Equals

The final Setup will look like:

➢ Next, Click on the Create to Setup the Filter


➢ Once you create the filter, you can see that in the Define Internal Traffic window
34

Referral Exclusion in GA4

➢ Go to the Admin for the GA4 Property

➢ Under the Property Settings Click on Data Stream

➢ Under the Data Stream, Click on the Web Data Stream


35

➢ Under the Web Stream Details, Click on the More Tagging Settings

➢ Under the More Tagging Settings, Click on the List Unwanted Referrals

➢ Now under the Unwanted Referrals Configure the Exclusion list. Select the Match
type as Referral domain exactly matches and under the domain name put the
domain to exclude and save the Configuration.
36

Common uses
The following examples illustrate scenarios in which you would not want to identify traffic from a
domain as referrals:

● Third-party payment processors


● An e-commerce site that uses a third-party payment processor, and users return to your site
after checking out on the third-party domain. Like Paypal
● Website-managed interactions

Where To find Google Search Console Data in Google


Analytics 4?
Google Search Console data will appear as two additional tiles (widgets) in

Reports > Acquisition > Acquisition overview:

● Google Organic Search Traffic


● Google Organic Search Queries
37

In the Google Organic Search Traffic report, you will see the following dimensions:

● Landing page
● Country
● Device category

Metrics:

● Organic Google search clicks


● Organic Google search impressions
● Organic Google search click-through rate
● Organic Google search average position
● Users
● Engaged sessions
● Engagement rate
● Average engagement time
38

● Event count
● Conversions
● Ad revenue

In the Google Organic Search Queries report, you will be able to see these dimensions:

● Organic google search query


● Country
● Device category

Metrics:

● Organic Google search clicks


● Organic Google search impressions
● Organic Google search click-through rate
● Organic Google search average position
39

Adding Google Search Console reports to the sidebar


of GA4 interface
If you want to quickly access GSC reports straight from the sidebar (instead of going
into acquisition reports), here’s a thing that you should do:

In GA4, go to Reports > Library.

Then find a new widget called Search Console. It will be displayed as Unpublished. Click
3 dots next to it and press Publish.
40

After you do that, a new section called Search Console will appear at the sidebar for
future quick access.
41

Site Search Setup


Site search setup is preconfigured in GA4 property, follow the below steps to check the
settings and if you need to change that.

Step 1
Navigate to GA4 property and click on Admin tab and click on Data Stream:
42

Step 2
Select your stream:
43

Step 3
The data stream will show the details of enhancement measurement -

Step 4
Click on the show more option:

Step 5
44

Click on the gear option and check the site search advance setting :

Site search is already setup but it will only work on default query parameters defined by
Google. A Search query parameter is the URL part that comes after the “?” character.

By default, the search event is triggered based on the presence of one of the following
five parameters in the URL :

1. q
2. s
3. search
4. query
5. keyword

If the website uses any parameter other than the default parameter in its URL, we can
also configure a custom parameter to fire the event. You can also check the result of
your setup in Real time reporting with the event ‘view_search_result’.
45

Enable Demographic Reports in GA4


When it comes to interests, age, and gender, this data can be obtained from your
visitors’ Google Accounts. If those visitors have enabled Ad Personalization in their
Google Accounts, Google can use their anonymized data and enrich your GA reports.
But to get that data, you will need to enable Google Signals.

How to enable demographics reports in GA4?

Go to Admin of your GA4 property > Data Settings > Data Collection. In the Enable
Google signals data collection, click Get Started.
46

Once you click Get Started, you will be redirected to the activation page. Click Continue.

And then click Activate.


47

Data Retention Setting in GA4

To adjust your data retention in GA4, follow these steps:

● Click “Admin” on the bottom left.

● Under “Property,” click “Data settings.”

● Select “Data retention.”

● Select the 14-month option from the drop-down menu and click “Save.”
48

You might also like