The Ultimate Guide to Google Analytics 4 (GA4)

Leonardo Pizarro | April 14th, 2022

Google analytics 4 (ga4) guide PPC

In October 2021, Google announced that it would be moving away from Google Analytics Universal to the new and improved Google Analytics 4.

For digital marketers, this means that the way we collect and analyze data will need to change. This guide will show you everything you need to know about GA4, including how to set it up, how to use it, and what best practices you should follow for using it effectively.

If you want to make sure you’re using the latest version of Google Analytics to its full potential, then this guide is for you. Let’s get started!

What is Google Analytics 4 (GA4)

Google Analytics 4 (GA4) is the latest version of Google Analytics. It’s a complete re-imagining of how analytics works, and it’s designed to help digital marketers make a smooth transition from the old Google Analytics (Universal Analytics) to the new GA4.

How does tracking work on GA4?

Google Analytics 4 uses a combination of event-based data and parameters to track user engagement. The events are then used to populate user properties, which in turn help define audiences for remarketing purposes. This approach gives you a more complete understanding of how users interact with your site or app.

Event tracking on GA4

Event tracking on GA4 is setup differently than on Universal Analytics. Instead of setting up individual events, you’ll need to define a set of parameters that will be used to track all the events you want to monitor. The parameters can be customized according to the needs of your business.

Here’s a step-by-step guide on how to do event tracking on GA4:

1) Log into your Google Analytics account and select the Admin tab.

2) Under the Events heading, click Parameters.

3) Click +New Parameter.

4) Enter a name for the Parameter and choose what type of data you want to collect.

5) Save the changes.

6) Follow the same steps to create additional parameters as needed.

7) Add the parameters to your events in Google Tag Manager.

8) Publish the changes.

eCommerce tracking on GA4

Google Analytics 4 has a built-in eCommerce tracking feature that can be used to track sales and conversion data. This feature is not available on Universal Analytics.

To set up eCommerce tracking on GA4, follow these steps:

1) Log into your Google Analytics account and select the Admin tab.

2) Click Admin, and navigate to the view you want. 

3) In the VIEW column, click Ecommerce Settings. 

4) Set Enable Ecommerce to ON.

5) Under the Events heading, click Ecommerce.

6) Select/create an eCommerce-specific event from the drop-down menu.

7) Follow the same steps to create additional parameters as needed.

8) Add the parameters to your events in Google Tag Manager.

9) Publish the changes.

User properties on GA4

Another important difference between Universal Analytics and GA4 is how user properties are handled. On Universal Analytics, user properties are set at the individual session level. This means that they can’t be used to track long-term engagement or create remarketing audiences.

GA4 uses a different approach called “user-scoped” properties. These properties are associated with a specific user ID and can be used to track engagement over time. They can also be used to create remarketing audiences.

What’s different about GA4?

The main difference between GA4 and Universal Analytics is the way in which data is collected and processed. Universal Analytics relies on cookies to track user behavior, while GA4 uses first-party data that’s stored in the browser’s Local Storage. This makes it possible to track users across devices and platforms without the need for cookies.

Another key difference is the way in which GA4 processes data. Universal Analytics uses a batch processing system, which means that data is processed in batches at predetermined intervals. GA4 uses a stream processing system, which means that data is processed in real-time as it’s received.

Finally, GA4 includes a number of features that are not available on Universal Analytics. These include:

  1. Event-based data collection: GA4 collects data based on events, which gives you a more complete picture of how users interact with your site or app.
  2. User-scoped properties: GA4 uses user-scoped properties to track engagement over time and create remarketing audiences.
  3. Built-in eCommerce tracking: GA4 has a built-in eCommerce tracking feature that can be used to track sales and conversion data.
  4. Cross-device tracking: GA4 can track users across devices and platforms without the need for cookies.
  5. Custom analysis: GA4 includes a number of features that make it easy to perform custom analysis. These include custom reports, segments, and dimensions.

Key changes to Google Analytics 4

There are several key changes that users need to be aware of when migrating to GA4. These include:

  • A new data model that is event-based
  • The ability to collect data offline and then upload it later
  • Improved cross-platform measurement
  • Greater control over the collection of user data

These changes mean that there will be a different way of understanding and working with data in GA4. However, the end goal is still the same – to help you make better decisions about your marketing efforts.

How to update to Google Analytics 4 (GA4)

Now that you know what’s changing, it’s time to update your Universal Analytics tracking code snippet to the new GA4 code. You can find your GA4 code in the Admin section of your Google Analytics account.

Making the switch to Google Analytics 4 (GA4) from Universal Analytics doesn’t have to be complicated. In fact, it’s a pretty straightforward process. Here’s a step-by-step guide to help you make the transition:

1) Log in to your Google Analytics account and navigate to the Admin section.

2) In the Property column, click GA4 Setup Assistant, it is the first option in the Property column, and create a new Google Analytic 4 property.

3) Under Global Site Tag (gtag.js), click Send traffic to GA4 property only.

4) Copy the tracking code snippet that appears under this setting.

5) Paste this tracking code into your website’s header or tag manager template, replacing your existing Universal Analytics snippet.

6) That’s it! Your data will now be migrated over to GA4 and you can start using all of the new features and benefits that come with it.

Google analytics 4 Best practices

Here are some tips and best practices to help you get the most out of GA4:

  • Use the GA4 code snippet on all of your websites and apps. This will ensure that you’re able to track all of your data in one place.
  • Create separate GA4 properties for each website or app that you want to track. This will help you to keep your data organized and easy to understand.
  • Use events to track user interactions with your site or app. This will give you a more complete picture of how users are engaging with your content.
  • Use user-scoped properties to track engagement over time and create remarketing audiences. This will help you to better understand your users and target them with relevant marketing messages.
  • Use the built-in eCommerce tracking feature to track sales and conversion data. This will help you to better understand your website’s or app’s performance.
  • Use cross-device tracking to track users across devices and platforms without the need for cookies. This will help you to better understand how users interact with your site or app on different devices.
  • Use custom reports, segments, and dimensions to perform custom analysis. This will help you to better understand your data and make informed decisions about your marketing efforts.

Frequently Asked Questions about moving to GA4

1. Do I need to create a new GA4 property?

No, you don’t need to create a new GA4 property. You can migrate your existing Universal Analytics property to GA4. However, we recommend that you create a new GA4 property if you want to start tracking data from scratch.

2. What happens to my Universal Analytics property when I migrate to GA4?

Your Universal Analytics property will remain active after you’ve migrated to GA4. However, all of the data that’s collected in your Universal Analytics property will be accessible only through the legacy reports.

3. Do I need to use the new GA4 code snippet on all of my websites and apps?

Yes, we recommend that you use the new GA4 code snippet on all of your websites and apps. This will ensure that you’re able to track all of your data in one place.

4. What happens if I don’t use the new GA4 code snippet on all of my websites and apps?

If you don’t use the new GA4 code snippet on all of your websites and apps, you’ll be missing out on important data that’s being collected by Universal Analytics.

5. Can I use both GA4 and Universal Analytics at the same time?

Yes, you can use both GA4 and Universal Analytics at the same time. However, we recommend that you use GA4 as your primary analytics tool moving forward.

6. What is cross-device tracking?

Cross-device tracking is a new feature in GA4 that allows you to track users across devices and platforms without the need for cookies. This will help you to better understand how users interact with your site or app on different devices.

7. What is eCommerce tracking?

The built-in eCommerce tracking feature in GA4 allows you to track sales and conversion data. This will help you to better understand your website’s or app’s performance.

8. What are user-scoped properties?

User-scoped properties are a new feature in GA4 that allows you to track engagement over time and create remarketing audiences. This will help you to better understand your users and target them with relevant marketing messages.

9. How do I migrate my data from Universal Analytics to GA4?

There is no need to migrate your data from Universal Analytics to GA4. All of the data that’s collected in your Universal Analytics property will be accessible through the legacy reports.

10. Can I use GA4 without migrating my data from Universal Analytics?

Yes, you can use GA4 without migrating your data from Universal Analytics. However, we recommend that you migrate your data so that you can take advantage of all of the new features and benefits that GA4 has to offer.

In conclusion

Google Analytics 4 is a powerful tool that is packed with new features and benefits to help you to better understand your website’s or app’s performance. Despite providing additional insights into web performance, GA4 is still lacking on control and transparency over your data.

Bot traffic, also known as “invalid traffic,” can skew analytics data and make it difficult to understand what’s really going on with your website or app. We recommend that you use GA4 as your primary analytics tool along with an invalid traffic protection solution to prevent your analytics from being skewed by bots.

Prevent Invalid Traffic from Eating Your Advertising Budget and Skewing Your Marketing Analytics

Lunio saved marketers over £100 million last year in wasted advertising spend. Eliminate invalid traffic and increase your marketing ROI. Get started for free!

mock

Stop All Advertising Fraud in Seconds