How to Set Up Google Analytics 4 Property
Setting up Google Analytics 4 is one of the first and most important steps in understanding your website's performance. This guide will walk you through the entire process, step by step, from creating your new property to making sure your data is tracking correctly. We’ll show you exactly how to get it done, no technical background required.
First, What Exactly is Google Analytics 4?
Google Analytics 4, or GA4, is the latest version of Google's web analytics platform. If you've used Google Analytics before, you were likely using its predecessor, Universal Analytics (UA). UA has been completely phased out, and GA4 is now the standard. But what’s the real difference?
The main shift is in how data is measured. Universal Analytics was built around "sessions" and "pageviews" - a model that made sense for the era of desktop websites. GA4, on the other hand, is built around an "event-based" model. This means that nearly every interaction is tracked as a distinct event.
Think of it like this:
- A page view is an event.
- A button click is an event.
- A video play is an event.
- A purchase is an event.
This event-based approach gives you a much more flexible and detailed view of the entire customer journey, whether a user is browsing your website, using your mobile app, or moving between the two. It's designed for the modern, multi-platform world and gives you deeper insight into user behavior.
Before You Start: What You'll Need
The setup process is pretty straightforward, but you'll want to have a couple of things ready to make it seamless. Here’s a quick checklist:
- A Google Account: You’ll need a Google account (like a Gmail address) to sign into Google Analytics. If you're managing analytics for a business, it’s best to use your business Google account rather than a personal one.
- Access to your Website’s Backend: You’ll eventually need to add a small snippet of tracking code to your website. This is much easier than it sounds! You just need to be able to log into your website’s admin area, whether it’s WordPress, Shopify, Squarespace, or another platform.
That’s it! With these two things on hand, you’re ready to get started.
Step-by-Step Guide to Creating a New GA4 Property
Let's walk through creating your GA4 account and the property that will live inside it. A "property" is basically the container for your website's or app's data.
Step 1: Head Over to Google Analytics
To begin, go to the Google Analytics website. If you are already signed into your Google Account, you’ll be taken to the welcome screen. Click the "Start measuring" button to begin.
Note: If you already have an existing Google Analytics account with old Universal Analytics properties, you’ll sign in and navigate to the 'Admin' section (the gear icon at the bottom left). From there, you can click "Create Account" or "Create Property" to start.
Step 2: Account Creation
The first screen asks you to create an account. A Google Analytics account sits at the highest level of the hierarchy and can contain multiple properties (for different websites or apps).
- Account name: Enter your business name here. For example, "My Awesome Company."
- Account Data Sharing Settings: These settings give you control over how your data is shared with Google. Review them and check the boxes you’re comfortable with. For most users, the default settings are fine.
Click "Next" when you’re done.
Step 3: Property Creation
Now it’s time to create the property where your website’s data will live.
- Property name: Name your property clearly. If you only have one website, using your website’s name is a good practice (e.g., "myawesomewebsite.com").
- Reporting time zone: Select the time zone your business operates in. This ensures your reports align with your business day.
- Currency: Choose the currency you use for business transactions (e.g., U.S. Dollar). This is important for e-commerce tracking.
Click "Next".
Step 4: About Your Business
Google asks for a few details about your business to help tailor your experience and provide relevant benchmarking data.
- Industry category: Pick the industry that best represents your business.
- Business size: Select the number of employees.
- How do you intend to use Google Analytics?: Check the boxes that align with your goals. Are you trying to generate leads? Drive online sales? Build brand awareness? Don't overthink it - just choose what's most relevant.
Click "Create" and then accept the Google Analytics Terms of Service Agreement for your country.
Setting Up Your First Data Stream
After creating your property, you'll be prompted to set up a "data stream." A data stream is simply the source of your data. You’ll create one for your website, one for your iOS app, and one for your Android app if you have them.
For this guide, we'll focus on setting up a stream for a website.
- Choose a platform: Click on the "Web" option.
- Set up your web stream:
- Enhanced measurement: This feature is turned on by default, and you should leave it on! It automatically tracks a number of important user interactions without you needing to manually set them up. This includes scrolls, outbound link clicks, video engagement, and file downloads. It’s a huge time-saver.
Click "Create stream." You’ll now see a "Web stream details" page. Don’t close this page! You'll need the "Measurement ID" (which looks like G-XXXXXXXXXX) in the next section.
How to Install the GA4 Tag on Your Website
Your property is created and your data stream is ready. The final big step is to connect it to your website so it can start collecting data. You do this by adding the GA4 tag to your site. Here are the three most common methods.
Method 1: Use a Platform-Specific Integration (The Easy Way)
Most modern website builders and CMS platforms have built-in integrations or easy-to-use plugins that make installing GA4 a breeze. You usually just need to copy and paste your Measurement ID (G-XXXXXXXXXX).
- For WordPress: The easiest way is to use a plugin. Popular options like Google Site Kit (Google’s official plugin), MonsterInsights, or GA Google Analytics will ask for your Measurement ID. Just paste it into the plugin's settings, and you’re done. No code required.
- For Shopify: Shopify has a native Google & YouTube app. Simply search for it in the Shopify App Store, add it to your store, connect your Google Account, and it will handle the implementation for you.
- For Squarespace & Wix: Both platforms have dedicated fields in their marketing or analytics settings where you just paste your Measurement ID. They manage the rest of the code placement.
This method is recommended for most users as it's quick, simple, and less prone to error.
Method 2: Use Google Tag Manager (The Flexible Way)
If you're already using Google Tag Manager (GTM) or want more control over your tags, this is the best method.
- In Google Tag Manager, go to "Tags" > "New".
- Give your tag a descriptive name, like "GA4 - Configuration Tag".
- In the Tag Configuration box, click and choose "Google Analytics: GA4 Configuration".
- In the "Measurement ID" field, paste the ID from your GA4 data stream (G-XXXXXXXXXX).
- Leave the "Send a page view event when this configuration loads" box checked. This ensures page views are tracked automatically.
- In the "Triggering" box below, click and choose "Initialization - All Pages". Using the Initialization trigger ensures it fires before any other tags.
- Click "Save". Then click "Submit" and "Publish" in the top-right corner to make your changes live.
Method 3: Add the Tracking Code Manually (The Old-School Way)
If you're comfortable editing your website’s code and don’t use a CMS with an easy integration, you can add the GA4 global site tag (gtag.js) directly.
- In your GA4 data stream details, find "View tag instructions".
- Under the "Install manually" tab, you'll see a JavaScript snippet.
- Copy the entire code snippet.
- Paste this snippet immediately after the
<head>tag on every single page of your website. If your site uses a theme file (likeheader.phpin WordPress), you can place it there, so it automatically appears on all pages.
This method works perfectly well but requires care to ensure the code is placed correctly and on every page you want to track.
Verify That Your GA4 Tag is Working
Once you’ve installed the tag, you’ll want to confirm it’s actually collecting data.
- Leave your website open in one browser tab.
- In another tab, go to your Google Analytics 4 property.
- Navigate to "Reports" > "Realtime".
You should see at least one "user in last 30 minutes". You can even go to different pages on your site and see the events (like page_view and first_visit) appearing in the real-time report. If you see activity here, congratulations! You have successfully set up Google Analytics 4.
Important Next Steps
Just setting up GA4 is only the beginning. Here are a few quick configurations every new user should perform to get the most out of their data:
- Increase Data Retention: By default, GA4 only stores user-level data for 2 months. You'll want to extend this. Go to Admin > Data Settings > Data Retention. Change the "Event data retention" dropdown from 2 months to 14 months and click Save.
- Exclude Your Own Traffic: To keep your data clean, you should prevent Google Analytics from tracking your own visits to your site. Go to Admin > Data Streams > (click your web stream) > Configure tag settings > Show all > Define internal traffic. Create a rule to exclude traffic from your IP address.
- Define Conversions: In GA4, goals are called "conversions." Think about what actions matter most on your site (e.g., form submissions, purchases). Navigate to Admin > Conversions to see the default conversions, and create new ones based on the events that are most important for your business goals.
Final Thoughts
Setting up Google Analytics 4 is a foundational step for any business looking to make data-driven decisions. By following the steps above, you can confidently create a GA4 property, install the tracking tag on your site, and begin collecting valuable insights about your audience and their behavior.
Now that you're collecting all this great data, the next challenge is making sense of it. The GA4 interface is powerful, but it can be overwhelming due to its complexity. Here at Graphed, we connect directly to your Google Analytics account so you can stop wrestling with complicated reports. Instead of learning a complex new tool, you can simply ask questions in plain English like, "show me a dashboard of my top traffic sources and conversion rates for the last 30 days," and get an instant, shareable dashboard. It turns hours of manual report-building into 30-second conversations.
Related Articles
What SEO Tools Work with Google Analytics?
Discover which SEO tools integrate seamlessly with Google Analytics to provide a comprehensive view of your site's performance. Optimize your SEO strategy now!
Looker Studio vs Metabase: Which BI Tool Actually Fits Your Team?
Looker Studio and Metabase both help you turn raw data into dashboards, but they take completely different approaches. This guide breaks down where each tool fits, what they are good at, and which one matches your actual workflow.
How to Create a Photo Album in Meta Business Suite
How to create a photo album in Meta Business Suite — step-by-step guide to organizing Facebook and Instagram photos into albums for your business page.