CX Optimization Agency Message Testing Blog Search Start 7-day trial for $1 Upskilling Playbooks Teams Community Find a job Resources Help

Set up Google Analytics 4

Use case

Improve tracking and analysis of critical visitor data on your website.

Upgrade for unlimited access to thousands of playbooks on increasing traffic, improving ROAS and more.

Start 7-day trial for $1

1. Navigate to the Admin Settings page and click on Upgrade to GA4 under Property Settings.

If the upgrade option is not available, you can design a GA4 property under Create Property. Skip to the fourth step once you finish the setup.

Join the discussion on how to complete this step.

2. Click on Get Started to begin the setup wizard. The options available to you will depend on your existing GA setup.

The setup wizard can use your existing tags to enable data collection if you currently implement UA using global site tags. However, the following steps will help you enable data collection through Google Tag Manager if you don’t.

Join the discussion on how to complete this step.

3. Generate a measurement ID to start data collection for the new GA4 property. Click on > next to Tag Installation to enter the menu.

Join the discussion on how to complete this step.

4. Select the website or app that you’re planning to track for reporting and click on Add Stream to expand the dropdown menu under Data Streams.

Instead of views, GA4 features data streams that measure events like site search, scrolls, file downloads, outbound link clicks, and more.

Join the discussion on how to complete this step.

5. Select either iOS app, Android app, or Web depending on what you need to track. In our example, we'll select Web because we need website tracking.

Join the discussion on how to complete this step.

6. Enter the name of the website in Stream Name and enter the Website URL, then click on Create Stream and copy the measurement ID displayed.

You will need this for the GA4 configuration set up in Google Tag Manager.

Join the discussion on how to complete this step.

7. Set up and install Tag Manager, then go to tagmanager.google.com and create a new account or use an existing one. Add the container code to your website as directed by the Install Google Tag Manager pop up window and click OK.

Join the discussion on how to complete this step.

8. Click on New Tag > Add a New Tag. Enter Google Analytics for the title, click on Tag Configuration and select Google Analytics: GA4 Configuration from Tag Type.

Join the discussion on how to complete this step.

9. Click on the variable icon and select Create new Variable > Variable Configuration. Select Constant from Utilities, enter the GA4 measurement ID, configure it to work on All Pages and click on Save.

Although you can enter the measurement ID manually, it’s better to create a constant variable. This helps you reference your measurement ID when using other tags.

Join the discussion on how to complete this step.

10. Test your setup before going live by clicking Preview in Tag Manager.

  1. A banner will appear across the top of the page to indicate the mode is active. To exit the preview mode, click on Workspace > Leave Preview Mode
  2. Once you’re sure that the data is coming through properly, publish your tag. When it’s live, open the GA4 Realtime report by navigating to your view > Reports > Realtime.
Join the discussion on how to complete this step.

Current Playbook:

Set up Google Analytics 4

Aug 08, 2021

2 votes

Request a playbook

Get unlimited access

Thousands of playbooks on increasing traffic, improving ROAS and more.

Start 7-day trial for $1