English Posts

Google Analytics 4: Cross Domain Tracking

cross domain tracking google analytics 4

In this post I’ll show you how to implement cross domain tracking in the new version of Google Analytics 4.

With GA4 cross domain tracking is much easier than the Universal Analytics version, in fact:

If you don’t have already implemented the GA4 Property, I suggest you to read my post where I described how to do that.

How to implement cross-domain tracking in GA4

Let’s go inside the Admin panel at the bottom left

admin google analytics 4

Now click on Data Stream under the Properties column (where you can find the main information related to your GA4 such as the Measurement ID)

data stream google analytics 4

Select the Data Stream you are interested in, from the list you see:

select data stream

Now, scrolling the page, we have to select the More Tagging Settings item:

more tagging settings google analytics 4

At this point, select Configure your domains:

configure your domains in google analytics 4

Then select the Add condition item:

add a new domain in google analytics 4

A series of conditions will appear:

include domains that match the following criteria google analytics 4

Choose the one you think is most useful for your case and enter the domain you want to be included in the list:

adding a new domain in google analytics 4

You can add additional domains by clicking on the Add condition item or delete them by clicking on the minus sign “

add or delete a new domain in google analytics 4

Save and that’s it!

By entering the domains as I did above, for example, ‘example.it‘, this means that all subdomains, which contain the main domain ‘example.it‘ will be included.

To give a concrete example, the subdomain ‘blog.example.it‘ or ‘ga.example.it‘ will be covered by the domain ‘example.it’.

In Google Analytics 4, implementing cross-domain tracking is very quick and easy.

If you have the Universal Analytics version, just copy the domains you have implemented in the tag in GTM and insert them in GA4.

How to implement cross-domain tracking in Universal Analytics

In the Universal Analytics version it is not possible to perform the operation directly from the GA Administrator panel.

You have to implement the Google Analytics variable first.

Subsequently, within the variable you have created, you must click on the Cross Domain Tracking item:

cross domain tracking google analytics settings variable

Then, enter the domains inside the box called Auto Link Domains:

enter the domains inside the box called Auto Link Domains

Save the variable and publish the changes made.

Cross-domain tracking in Google Analytics 4 and Universal Analytics

If you want to implement the tracking of your website in parallel on both GA4 and Universal Analytics (currently the recommended choice by all experts in the industry), what you have to do is as described in the previous paragraphs.

Within Google Analytics 4 you just need to log into the Administrator panel and implement the solution in a few clicks.

With the Universal Analytics version, implemented with the help of Google Tag Manager, you have to implement the specific variable for GA and take a few more steps.

Good analysis!

You may also be interested at the following articles:

  • Google Analytics 4: source/medium report
    One 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 GA4
    One 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: Comparison
    In 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 4
    In 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 Studio
    Google 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 4
    Content 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 […]

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *