Home » Building Websites » How to Set Up GA4 for Improved Web Analytics | a 7-Step Guide How to Set Up GA4 for Improved Web Analytics | a 7-Step Guide We may receive a commission from our partners if you click on a link and purchase a product or service on their website. Learn more Written by Rob Binns Updated on June 13, 2023 Task time: 1-2 hours Difficulty: Medium Sign up to our weekly newsletter Your expert advice is here! Grow your website with help from our FREE, weekly newsletter – sign up today! SUBSCRIBE Comments: 0 On this page What is Google Analytics 4 (GA4)? Step 1: Preparing for GA4 Installation Step 2: Creating a New GA4 Property Step 3: Setting Up a Data Stream in GA4 Step 4: Configuring GA4 Settings Step 5: Installing the GA4 Code on Your Website Step 6: Verification and Troubleshooting Step 7: Understanding and Analyzing Your GA4 Data Summary After building a website for your business, setting up Google Analytics 4 (better known as GA4) is a great way to understand your audience and better your commerce.GA4 is the latest version of Google’s hugely popular web analytics tool. First introduced in October 2020, GA4 supersedes its predecessor, Universal Analytics (UA) – which Google has been phasing out. The search engine’s recommended deadline for GA4 adoption was 30 June 2022.And since July 2023, UA no longer works – so, if you haven’t set up GA4 already, now’s the time.Which begs the question: how do you set up GA4, exactly?Don’t panic. Below, we’ve put together a simple, 7-step guide to all things GA4. We’ll walk you through what GA4 is, how it improves on the analytical scope and settings of UA, and – most importantly – how to install it on your website.The clock is ticking – the time to set up GA4 is now! What is Google Analytics 4 (GA4)? Designed to help brands and website owners gain more detailed insights into their audience and business performance, GA4 improves on UA in a number of ways. These include:Event-focused tracking: GA4 doesn’t just track page views, but user events – such as clicks, video plays, downloads, and form submissions – to enable a more comprehensive understanding of your audience’s behavior.Enhanced cross-platform tracking: GA4 improves your ability to track information across multiple platforms: including websites, mobile apps, and offline data sources.Machine learning capabilities: by harnessing the latest developments in AI, GA4 offers more powerful analytical tools – such as predictive metrics – to forecast what’s ahead.A privacy-centric approach: designed to reflect evolving user privacy expectations, GA4 comes equipped with features like consent mode and data controls: helping you comply with privacy regulations, and respect the preferences of your users.Better data exploration and analytics views: GA4’s user interface is more customizable – making reporting a more tailored experience, and offering a more flexible way to dive deep into your business’ data.That’s what GA4 does – and how it improves on its predecessor.Want to start making the most of all those benefits for your business? Read on to learn how to install GA4 in seven simple steps. Verifying Get More Expert Advice and Industry News Sent To Your Inbox Stay informed with extra tips and insights on industry trends delivered to you in our weekly newsletter. Please fill in your name Please fill in your email Subscribe By signing up to receive our newsletter, you agree to our Privacy Policy. You can unsubscribe at any time. Step 1: Preparing for GA4 Installation Since you’re here, we’re going to go out on a limb and presume you’ve already got a Google Analytics account, and that it’s connected to your website. If you haven’t, no problem – but we recommend checking out our article about how to add Google Analytics to a website, first.A Google Analytics account – and perhaps, at the very least, a basic working knowledge of UA – are handy to start with. But before you begin installing GA4 on your website, the most important thing you’ll need is a strong idea as to how you plan to use GA4.That’s because, as part of the process of configuring GA4, Google will ask you what your goals are. Are they to:Generate leads?Drive online sales?Raise brand awareness?Examine user behavior?Get baseline reports?Knowing this now – and understanding your reasons for setting up GA4 – will help speed up and smooth out the process later.One of the first parts of the GA4 setup process is selecting your business objectives. Step 2: Creating a New GA4 Property To create a new GA4 property, first log into your Google Analytics account.(A GA4 property is a data tracking and analysis framework by Google. In essence – or at least in the case we’re talking about – it refers to your website.)From the home screen, head to the button marked ‘Admin’ (it has a little cog next to it) and you’ll come to a screen allowing you to create an account, a property, or a view.It’s that middle one – property – we’re most interested in, so go ahead and click the blue ‘+ Create Property’ button.Setting up GA4 begins with creating a property (middle column).From there, you’ll be asked to give your property a name – as well as specify the time zone and currency you’ll be working in – on a screen that looks like this:Enter your property’s name, plus the time zone and currency you work in, to progress.Do that, and you’ll be asked a few more basic questions about the size and nature of your business. You’ll also need to specify the industry you operate in, and how you plan to use GA4. Step 3: Setting Up a Data Stream in GA4 After entering your business’s details and objectives, you’ll be asked which platform you’d like to collect data through: web, Android app, or iOS app.Select your platform, and you’ll be prompted to set up a data stream. Enter your website’s URL, and give your new stream a name.Input your website’s URL and give it a name.If you’d like, you can also enable Google’s enhanced measurement options. These allow you to collect additional data, including interactions with your site and content (such as scroll tracking, or file downloads.) Step 4: Configuring GA4 Settings If you’ve kept up so far, you’ll now be presented with a screen displaying your stream’s basic details: name, URL, and both stream and measurement ID. Now, it’s time to get customizing.From this page, you’ll be able to access GA4’s range of enhanced measurement tools and configure them to your liking. Additionally, you can set up custom conversion events to track your site’s key commercial performance metrics.You can also have a tinker with the settings of your Google tag. From this page, you can:Configure your tag’s behavior: such as internal traffic and cross-domain linking.Manage connected site tags: load tags for any other GA4 properties you might have.View tag instructions: learn more about how to implement your Google tag for this data stream.On this page, you can tweak your Google tag’s settings, and access GA4’s enhanced measurement tools. Step 5: Installing the GA4 Code on Your Website You’ve set up your new GA4 property – nice work! But don’t start popping champagne just yet – because, unless that property is connected to your website, it’s not going to be delivering the data you need.So, after you’re done configuring your GA4 property’s settings, hit the button that reads ‘View tag instructions’. This will take you to a screen that looks like this:Installing your Google tag with a website builder or CMS is simple, and allows you to complete your GA4 setup automatically.As you can see, there are two ways to install your Google tag:Using a website builder – such as Wix, Squarespace, or Duda – or a content management system (CMS): such as WordPress, Drupal, or Django.Manually.Installing your Google tag with a website builderIf your site is powered by Wix, Squarespace, or Duda, then good news!From here, you can finish setting up your Google tag without making changes to your website’s code. Simply click on the name of your platform where you see it in the ‘Supported platforms’ section and follow the prompts. Own a Shopify site, and want to connect GA4? Lucky you – we’ve put together a whole guide dedicated to just that topic. Explore how to add Google Analytics to Shopify now – then, meet us back here for the final two steps! (Oh, and if you have a moment, check out our scoop on Shopify’s high-profile breakup with UA for its new squeeze, GA4 – it’s juicy stuff!)Installing your Google tag with a CMSIs your site built on Drupal? Or the free, open-source CMS Typo3? If so, Google makes it extremely easy for you to set up your Google tag. Same with users of one.com, or WordPress – who can continue installing their tag via the WordPress plugins Site Kit or MonsterInsights.If your site runs on any of these CMS, click on your platform’s name in the ‘Supported platforms’ section – and follow the prompts to completion.Installing your Google tag manuallyIf you’ve built your website from scratch – or use a website builder or CMS that isn’t on Google’s ‘supported platforms’ list – you’ll have to take a more hands-on approach.To install GA4 on your website manually, insert the code Google generates into each page of your website.Select the ‘Install manually’ tab, and copy the Google tag that appears. Then, paste this snippet of code into every page of your website, immediately after the <head> element. Step 6: Verification and Troubleshooting Step 6 – verification and troubleshooting – is exactly what it sounds like. Time to make sure your GA4 code has been successfully installed on your website – and that everything is functioning exactly as it should be.So head to your website and click through a few pages to generate some data. Then, go back to Google Analytics, click ‘Admin’ (look for the little cog in the bottom left!) and navigate to the ‘Property’ column. There, click on ‘Data streams’ to see your full list of data streams, and verify that your website’s data stream is receiving hits.If it isn’t, it could point to an issue with your GA4 tracking code’s installation on your website. That said, data may take up to 48 hours to appear in the reports. So don’t fret if it isn’t showing up straight away.Your property may take up to 48 hours to start collecting data – so don’t freak out if it fails to show up on your dashboard immediately. Step 7: Understanding and Analyzing Your GA4 Data Now you’ve added GA4 to your website, it’s worth getting to grips with its new-and-improved dashboard. The screenshot below (which, along with the hundreds of thousands of revenue, is from Google – not this humble writer’s website!) shows that, despite all the extra features and functionality, GA4 boasts a sleeker, smarter, more stripped-back aesthetic than UA.GA4’s dashboard: Google gets a glow-up.As a reminder, GA4’s dashboard provides insights into your website’s:Users and new users: the amount of people who visited your site in a specific time period – and how many did so for the first time.Sessions and session duration: the amount of visits to your website (and for how long).Traffic sources: the channels bringing users to your website or app: such as organic search, direct traffic, social media, or referral sources.Campaign performance: information about specific marketing campaigns: including each campaign’s number of visits, goal completions, and conversion rates.Bounce rate: The percentage of single-page visits where users left your website or app without interacting further.…plus so, so much more. When it comes to GA4, simply reading about what you can do doesn’t do any of it justice. Our recommendation? Log in, get stuck in – and give it a go for yourself! Summary Looking to set up GA4 on your website – and boost the way your business or brand collects, uses, and reports on data? Here are those seven steps again:Prepare for GA4 installationCreate a new GA4 propertySet up a data stream in GA4Configure GA4 settingsInstall the GA4 code on your websiteVerify and troubleshootUnderstand and analyze your GA4 dataSo good luck, enjoy – and let us know how you got on installing GA4 on your website by chiming in via the comments section below. Written by: Rob Binns Writer I’ve written for brands and businesses all over the world – empowering everyone from solopreneurs and micro-businesses to enterprises to some of the ecommerce industry’s best-known brands: including Yahoo!, Ecwid, and Entrepreneur. My commitment for the future is to empower my audience to make better, more effective decisions: whether that’s helping you pick the right platform to build your website with, the best hosting provider for your needs, or offering recommendations as to what – and how – to sell. Leave a comment Cancel replyYour email address will not be published. Required fields are marked *Comment*First name:*Email address:* Δ