KG-SCRIPTS / BLOG
1 August 2026
4 min read
Learn how to create a GA4 property, install the tracking code on your business website, and test whether the data reaches Google Analytics.
To set up Google Analytics 4 for a business website, you need a Google account, access to the website or its CMS, and a clear idea of which visitor actions matter to you. GA4 is event-based, which means you can track more than pageviews.
Open analytics.google.com and sign in with your Google account. Click “New property” (or “+ Create property”), then enter your business name, time zone, and currency. For the platform, choose Web. After this step, GA4 creates a property, but data will not flow until you add a data stream and tracking code.
In the Admin section, under Property, click Data Streams. Click “Add stream”, then choose Web. Enter your website URL, for example https://example.com, and give the stream a clear name such as “Main business website”. After saving, you will see a Measurement ID in the format G-XXXXXXX. Keep it safe; you need it later.
There are two common ways to add the code.
</head> tag on every page.A third option is Google Tag Manager. It is a good choice when you plan to manage several marketing tags. If you use Tag Manager, do not also paste the direct gtag.js snippet, or you may count pageviews twice.
GA4 can automatically collect some interactions through Enhanced Measurement, such as scrolls and outbound link clicks. For a business website, the more useful events are the ones that show a lead: a contact form submission, a click-to-call button, or a click on the email address.
To mark an event as a key event, go to Configure, choose Key Events (or Conversion Events), then click New Key Event. Enter an event name, for example form_submit or call_click. The corresponding event must already be sent from your site, either through a plugin, custom code, or Tag Manager. Start with one or two events that match your main enquiry channels.
Google Analytics shows you where visitors came from, but Search Console shows which search queries your site appears for. In the Admin section, find Search Console Links under Property. Select the verified Search Console property for your site and confirm the link. This connection helps you see how people find your business website through Google Search.
Open the Realtime report in GA4. Then open your site in a private or incognito window and load the homepage. You should soon see yourself in the realtime report. To test a key event, submit the contact form or click the phone button on your site. If the event name appears in DebugView, your tracking is working.
The value of Google Analytics is not in the dashboard itself. It is in the decisions you make after seeing the data. Set up GA4 carefully, define one or two key events, and use the reports to improve your website and marketing. If you prefer not to handle the technical setup yourself, an experienced web team such as KG-SCRIPTS can configure the analytics and connect it with the rest of your digital tools.