Blog Post

Blog

Natalie Siebenaler • November 10, 2023

GA4 Basics Blog Series: How to Setup Google Analytics 4

How to Setup GA4 Account Image

Change is hard. Our brains simply do not like change. But change can be good and that is the optimism we need when becoming proficient in Google Analytics 4(GA4). Yes, GA4 brings many changes compared to Universal Analytics(GA3), however, let’s look at it as an opportunity to learn and grow, rather than focus on the negatives. So with an open and optimistic mindset, let’s walk through how to set up your GA4 account properly!


How to Create a GA4 Property:

GA4 Property Setup Preview

  1. Login to your Google Analytics account
  2. Click into the Admin section(bottom left)
  3. Click the +Create button(top left) and select Property 
  4. Enter a name for your property e.g. “Theory Z Media GA4 - All Website Traffic”
  5. Select Reporting Time Zone that is relevant for your business
  6. Select Currency
  7. Click Next
  8. Select Industry & Business Size options that are relevant for your business(new requirements)
  9. Click Next
  10. Choose Business Objectives (for personalized reports)
  11. Click Next
  12. Choose a platform (Web or App) *Chose Web for this guide*

How to Create a GA4 Data Stream:

  1. Setup Data Stream (what it’s called when collecting data from the site).
  2. Enter Website URL for the site you want to track e.g. theoryzmedia.com. Make sure to include https and www (or not). 
  3. Enter Stream Name e.g. theoryzmedia.com (try to be consistent with all naming conventions in your account).
  4. Click Gear⚙️ Icon to Configure Enhanced Measurement
  5. Here you should choose which events are important to measure. We recommend selecting all options except Form Interactions. Consider not auto-tracking form interactions as this can track form submissions every time your Facebook Pixel tag fires. 
  6. Click Create Stream

How to Install GA4:

A pop-up window appears after you clicked “Create Stream” with two options for Installation Instructions which include “Install with a Website Builder or CMS” or “Install Manually”. Look at both options and determine which is easiest for you or your development team. Keep in mind that you can choose a different plugin (Site Kit, SquareSpace, etc) other than the option automatically provided for “Install with a CMS”. We prefer to install the code via our Google Tag Manager account so below is a walk through of how to do this.


How to Install GA4 with Google Tag Manager:

Google Analytics 4:

  1. Click Into Admin section
  2. Click Data Streams (under Data Collection and Modification)
  3. Click into the stream you want installed
  4. Copy the Measurement ID (highlighted below) **Make sure you’re using Measurement ID, not Stream ID: 10-digit, alphanumeric, starts with G-
GA4 Measurement ID

Google Tag Manager:

  1. Click into Tags section
  2. Select “New” button
  3. Label Tag Example “GA4 Configuration Tag”
  4. Click into Tag Configuration
  5. Click Google Analytics, then click “Google Tag”
  6. Under Tag ID paste your GA4 Measurement ID e.g. G-X8L43VBE2X
  7. Click Configuration Settings, then click Add Parameter
  8. Enter the following: Configuration Parameter: send_page_view | Value: true
  9. Click into Triggering, Add “All Pages” trigger
  10. Save & Publish! Should look like this:
GA4 Configuration Tag Setup in GTM Preview
GA4 Realtime Report Preview

Check that your GA4 code is working in the GA4 Realtime Report

  1. Close out of Web Stream Details section
  2. Click into Reports in the left navigation menu
  3. Click report titled Realtime
  4. If the code is active and firing successfully via GTM, you should see data populating here such as Users in the Last 30 Minutes should have at least 1.
  5. Keep in mind that you need to wait at least 24-48 hours for the other reports in GA4 to start populating data.

Congratulations! You have now created a GA4 Property! 




How to Optimize GA4 Data Settings


Data Collection:

  • Google Signals: Turn on for ad personalization, turn off for less sampling/thresholding
  • *If turned on, a Privacy Policy page must be live on the website and include these requirements in order to follow Google Policy.
  • Instructions:
  • Click into Admin section(bottom left corner)
  • Click Data Collection (under Data Collection and Modification Section)
  • Turn each section on or leave off, choose to acknowledge the User Data Collection Acknowledgement
GA4 Google Signals Preview

Data Retention:

  • Customize the event data retention period here, meaning when GA4 can remove extra details on your events (called event parameters) that are saved with events. We recommend changing this to 14 months.
  • Instructions:
  • Click into Admin section(bottom left corner)
  • Click Data Retention (under Data Collection and Modification Section)
  • Select 14 Months option
  • Save
GA4 Retention Preview

Data Filters

  • Create internal traffic filters to exclude website traffic from employees, vendors and more.
  • Instructions:
  • Step 1 Data Streams Section:
  • Click Data Streams (under Data Collection and Modification Section)
  • Click into the Data Stream you want modified
  • Select Configure Tag Settings
  • Select Define Internal Traffic
  • Click Create Button
  • Add a filter name such as Minnesota Office IP
  • In the Value section, paste your IP address (If you don’t know your IP you can Google in a separate window “What is my IP” and get this here)
  • Click Create
  • Step 2 Data Filters Section:
  • Go back to main Admin section
  • Click Data Filters (under Data Collection and Modification Section)
  • Click into the filter created by default here titled “Internal Traffic”
  • Note: This is setup to exclude anything with a traffic type parameter that is internal which is why step 1 was needed.
  • Keep traffic_type parameter as internal 
  • Recommend Filter state to stay at Testing until you’re sure you’re capturing traffic correctly. Once this is set to Active that data is gone and you cannot get it back.
  • Save
GA4 Filters Preview

Configure Your Domains

  • If you’re using this GA4 property in more than one domain you will need to configure the Cross Domain Settings. With this setting we are basically telling GA4 that it’s okay to collect data from two or more separate domains.
  • Instructions:
  • Click Data Streams (under Data Collection and Modification Section)
  • Click into the Data Stream you want modified
  • Select “Configure Tag Settings”
  • Select “Configure Your Domains”
  • Keep Match type at “Contains”
  • Domain section - type in any domain that is okay for cross-domain measurement
  • Save
GA4 Cross Domain Configuration Preview

List Unwanted Referrals

  • Identify any third party sites you may have that you do not want listed as referral traffic such as payment gateways, appointment sites, etc. 
  • Instructions:
  • Click Data Streams (under Data Collection and Modification Section)
  • Click into the Data Stream you want modified
  • Select “Configure Tag Settings”
  • Select “List Unwanted Referrals”
  • Keep Match type at “Referral domain contains”
  • Enter website in Domain section e.g. paypal.com
  • Select Add Condition to add more websites
  • Save
GA4 Referral Domains Preview

Adjust Session Timeout

  • Adjust how long it takes before sessions expire due to inactivity or become engaged sessions. Default is set to 30 minutes though you can go up to 7 hours and 55 minutes. This is optional and completely up to what makes sense for your business.
  • Instructions:
  • Click Data Streams (under Data Collection and Modification Section)
  • Click into the Data Stream you want modified
  • Select “Configure Tag Settings”
  • Select “Adjust Session Timeout”
  • Change time or leave as is
  • Save
GA4 Session Timeout Preview

How to Define Audiences in GA4

GA4 Audience Preview

Audiences let you segment your users in the ways that are important to your business. You can segment by dimensions, metrics, and events to include practically any subset of users. These can then be exported for use in remarketing lists. Let’s walk through one example:

  1. Click into Admin section
  2. Click Data Display
  3. Select Audiences
  4. Select New Audience Button
  5. Choose “Create a custom audience”
  6. Label Audience “Google Organic”
  7. Click into “Add New Condition”
  8. Select Traffic Source, Session Source/Medium
  9. Add filter Contains = google / organic, Select Apply
  10. Adjust Membership Duration as needed such as 30 days
  11. Save

GA4 Integrations & Product Links

There are many Product Link options to connect to your GA4 including Google Ads, BigQuery, Merchant Center, Google Play, Search Console and more. We strongly recommend that you link all available products to the account as this will give you more insight and reporting for your overall business. Connecting the accounts is done under Admin>Property Settings>Product Links. 





One big piece missing from this guide is how to set up events and conversions. GA4 is all about events and getting them right is important. That is why we plan to dedicate a separate article covering this in full detail which will launch next week. Stay tuned!


You now have the basics down for setting up your GA4 property properly and I hope you stayed optimistic throughout the process. Remember that change can be a good thing! If you have any questions please don’t hesitate to reach out to us. Email us at info@theoryzmedia.com, call us at 651-335-7093 or fill out our website contact form.





Google Local Service Ads for Minnesota Businesses
By Lance Matthews November 15, 2024
Google Local Service Ad Campaigns are the most cost-efficient and effective advertising that a business can run. Learn how to start accelerating your new customers today!
GA4 Basics
By Natalie Siebenaler November 6, 2023
Check out our new GA4 Basics Blog Series! This first article is a tutorial of Google Analytics 4 that covers what it is, how it works and a review of the reports.
Boost Your Google Business Profile On Search Results
By Natalie Siebenaler January 27, 2023
A business's local ranking on Google search results is more important than ever. The higher you show, the better chance you capture new customers. A key way to maximize how often users find your business in local search results is to setup a Google Business Profile. View our 10 tips to boost your Google Business Profile visibility today!
Share by: