How to Set Up Google Analytics 4: Step-by-Step Tutorial

Google Analytics 4 has become the standard analytics platform for businesses worldwide, yet many Singapore companies still struggle with proper setup and configuration. Whether you are launching a new website or finally migrating from an older analytics setup, getting GA4 right from the start is essential for making data-driven marketing decisions.

For Singapore businesses operating in one of Asia’s most competitive digital markets, accurate analytics data is not a luxury — it is a necessity. From tracking e-commerce transactions on Shopee-integrated stores to measuring lead generation for B2B services, GA4 provides the insights you need to optimise your digital marketing strategy and maximise return on investment.

This google analytics 4 setup tutorial walks you through every step of the process, from creating your GA4 property to configuring custom events and setting up conversion tracking. By the end, you will have a fully functional analytics setup ready to capture meaningful data about your website visitors.

What Is Google Analytics 4 and Why It Matters

Google Analytics 4 represents a fundamental shift in how website analytics works. Unlike Universal Analytics, which relied on session-based tracking with pageviews as the primary metric, GA4 uses an event-based model where every user interaction is captured as an event. This provides far more flexibility and granularity in understanding how visitors engage with your website.

For Singapore businesses, GA4 offers several critical advantages. First, it provides better cross-device tracking, which is vital in a market where 97 per cent of the population uses smartphones. Second, GA4 includes built-in machine learning capabilities that can identify trends and predict user behaviour, helping you anticipate customer needs. Third, GA4 is designed with privacy in mind, using data modelling to fill gaps when cookies are restricted — increasingly important as Singapore’s Personal Data Protection Act continues to evolve.

GA4 also integrates seamlessly with Google Ads, making it easier to track the full customer journey from ad click to conversion. If you are running Kempen Google Ads, having GA4 properly configured ensures you can measure campaign performance accurately and optimise your ad spend.

Step 1: Create Your GA4 Property

Creating a GA4 property is straightforward, but there are several settings you need to configure correctly from the outset. Follow these steps carefully to ensure your property is set up for success.

Access Google Analytics: Navigate to analytics.google.com and sign in with your Google account. If you do not have a Google Analytics account yet, click “Start measuring” to create one. Enter your account name — typically your business name — and configure your data sharing settings. For most Singapore businesses, enabling all data sharing options is recommended as it provides access to benchmarking data and technical support.

Create a new property: Click “Admin” in the left navigation, then select “Create Property” under the Property column. Enter your property name (for example, “MyBusiness.sg – Website”), select your reporting time zone as “(GMT+08:00) Singapore,” and set your currency to “Singapore Dollar (SGD).” Getting these settings right ensures your reports display data in the correct time zone and currency.

Describe your business: Select your industry category from the dropdown — choose the option that best matches your business. Select your business size. Then choose your business objectives from the options provided, such as “Generate leads,” “Drive online sales,” or “Raise brand awareness.” These selections customise your default reports.

Create a web data stream: After creating the property, you will be prompted to choose a platform. Select “Web” and enter your website URL (for example, “www.yourbusiness.sg”). Give your stream a name like “Website” and ensure “Enhanced Measurement” is toggled on. Enhanced Measurement automatically tracks scrolls, outbound clicks, site search, video engagement, and file downloads without any additional code.

Note your Measurement ID: Once your data stream is created, you will see a Measurement ID starting with “G-” followed by a string of characters. Copy this ID — you will need it in the next step to install the tracking tag on your website.

Step 2: Install the GA4 Tag on Your Website

There are several methods to install the GA4 tracking tag on your website. The method you choose depends on your website platform and technical capabilities.

Method 1: Direct installation (gtag.js). This is the simplest method for basic websites. In your GA4 property, go to Admin, then Data Streams, and click on your web stream. Under “View tag instructions,” select “Install manually.” You will see a JavaScript snippet that looks like this: a script tag loading the gtag.js library followed by configuration code containing your Measurement ID. Copy this entire snippet and paste it into the head section of every page on your website, immediately after the opening head tag.

Method 2: Google Tag Manager. For businesses that need more flexibility, installing GA4 through Google Tag Manager is the recommended approach. This method allows you to manage all your tracking tags in one place without modifying your website code directly. We cover this in detail in our Google Tag Manager tutorial. In GTM, create a new tag, select “Google Analytics: GA4 Configuration” as the tag type, enter your Measurement ID, set the trigger to “All Pages,” and publish your container.

Method 3: CMS plugins. If your website runs on WordPress, you can use plugins such as Site Kit by Google or MonsterInsights to install GA4 without touching code. For Shopify stores — popular among Singapore e-commerce businesses — you can add your Measurement ID directly in the Online Store preferences under the Google Analytics section.

Verify your installation: After installing the tag, visit your website in a new browser tab, then return to GA4 and check the “Realtime” report. You should see at least one active user (yourself). If you do not see any data, clear your browser cache, disable any ad blockers, and try again. You can also use the Google Tag Assistant Chrome extension to verify that your tag is firing correctly.

Step 3: Configure Events and Parameters

GA4 tracks user interactions through events. Some events are collected automatically, while others need to be configured manually. Understanding the event hierarchy is crucial for extracting meaningful insights from your analytics data.

Automatically collected events include first_visit, session_start, page_view, and user_engagement. These fire without any additional configuration once your GA4 tag is installed. Enhanced Measurement events — scroll, click (outbound), file_download, video_start, video_progress, video_complete, and view_search_results — are also collected automatically if you enabled Enhanced Measurement during setup.

Recommended events are predefined events that Google suggests you implement based on your business type. For e-commerce businesses in Singapore, these include add_to_cart, begin_checkout, purchase, and view_item. For lead generation businesses, key recommended events include generate_lead and sign_up. To implement these, you need to add event code to specific pages or use Google Tag Manager to create custom event tags.

Custom events allow you to track interactions unique to your business. For example, a Singapore property agency might track “schedule_viewing” events, while a tuition centre might track “enquiry_form_submit” events. To create a custom event in the GA4 interface, go to Admin, then Events, then “Create Event.” Give your event a name using snake_case format, then define the matching conditions. Alternatively, push custom events through your website code or via GTM for more control.

Configure event parameters: Each event can carry additional data through parameters. For a form submission event, you might include parameters such as form_name, form_location, and service_type. These parameters provide context that makes your data more actionable. In GA4, go to Admin, then Custom Definitions, then “Create Custom Dimensions” to register your custom parameters so they appear in your reports.

Step 4: Set Up Conversion Tracking

Conversion tracking is arguably the most important aspect of your GA4 setup. Without it, you cannot measure the effectiveness of your SEO efforts, paid advertising, or any other marketing channel. In GA4, any event can be marked as a conversion.

Mark existing events as conversions: Navigate to Admin, then Events. You will see a list of all events being tracked. Find the event you want to treat as a conversion — for example, “generate_lead” or “purchase” — and toggle the “Mark as conversion” switch. The event will now appear in your Conversions report and can be imported into Google Ads for campaign optimisation.

Create new conversion events: If you need to track a conversion that does not match any existing event, you can create one. Go to Admin, then Events, then “Create Event.” For example, to track users who reach a thank-you page after submitting a contact form, create an event with the condition: event_name equals “page_view” AND page_location contains “/thank-you”. Name this new event “contact_form_conversion” and save it. Then go to Admin, then Conversions, and mark this new event as a conversion.

Assign monetary values: For lead generation businesses in Singapore, assigning a value to each conversion helps you calculate return on investment. In Admin, then Events, click on your conversion event and add a default value. For example, if you know that each lead is worth an average of $150 SGD, set that as your conversion value. This enables you to see revenue data in your reports even for non-e-commerce conversions.

Test your conversions: After setting up conversions, trigger them yourself by completing the relevant action on your website. Check the Realtime report in GA4 to confirm the conversion event appears under “Event count by Event name.” Note that conversion data may take up to 24 hours to appear in standard reports, so the Realtime report is your best tool for immediate verification.

Step 5: Navigate Key Reports in GA4

Once your GA4 property is collecting data, you need to know where to find the most valuable insights. GA4 organises reports differently from older versions, so here is a guide to the reports that matter most for Singapore businesses.

Acquisition reports show you where your visitors come from. The “Traffic Acquisition” report breaks down sessions by channel — organic search, paid search, direct, social, referral, and email. Use this report to evaluate which marketing channels deliver the most traffic and conversions. For businesses investing in pemasaran kandungan, the organic search channel data is particularly valuable.

Engagement reports reveal how users interact with your website. The “Pages and screens” report shows your most visited pages, average engagement time, and event counts per page. The “Events” report lists all tracked events with their counts, enabling you to see which interactions are most common.

Monetisation reports are essential for e-commerce businesses. These reports show revenue, purchases, average purchase value, and product performance. Even service-based businesses can benefit from these reports if you have assigned monetary values to your conversion events.

Retention reports help you understand user loyalty. The “Retention” overview shows new versus returning users, user retention by cohort, and lifetime value. For subscription-based businesses or SaaS companies in Singapore, these metrics are critical for measuring long-term success.

Explorations: GA4’s Explorations feature allows you to build custom reports using a drag-and-drop interface. You can create funnel analyses, path analyses, and segment comparisons that go far beyond standard reports. For example, you might build a funnel exploration showing the steps from landing page to enquiry form submission, identifying where users drop off in the process.

GA4 Best Practices for Singapore Businesses

To get the most from your GA4 setup, consider these best practices tailored for the Singapore market.

Set up audiences for remarketing: Create audiences based on user behaviour, such as “Visited pricing page but did not convert” or “Added to cart but did not purchase.” These audiences can be shared directly with Google Ads for remarketing campaigns, helping you re-engage potential customers who showed purchase intent.

Link GA4 with other Google products: Connect your GA4 property with Google Ads, Google Search Console, and Google Merchant Centre. These integrations provide a more complete picture of your marketing performance. The Search Console integration, in particular, allows you to see search queries and landing page performance directly within GA4 — essential for monitoring your SEO performance.

Configure data retention settings: By default, GA4 retains user-level data for two months. For most businesses, changing this to 14 months is advisable. Go to Admin, then Data Settings, then Data Retention, and select “14 months.” This gives you access to longer-term trend data in your Explorations reports.

Enable Google Signals: Google Signals allows GA4 to associate data from users who are signed into their Google accounts, enabling better cross-device reporting. Go to Admin, then Data Settings, then Data Collection, and enable Google Signals. Be aware that this may apply thresholding to your reports when user counts are low, which can sometimes hide data.

Filter out internal traffic: Exclude your own visits and those of your team from analytics data. In Admin, go to Data Streams, select your stream, then “Configure tag settings,” and click “Define internal traffic.” Add your office IP address — if your Singapore office uses a static IP, this is straightforward. Then activate the filter under Admin, Data Settings, Data Filters.

Set up regular reporting: Use GA4’s automated insights and custom alerts to stay informed without checking reports daily. Set up alerts for significant changes in traffic, conversion rates, or other key metrics. This ensures you are notified promptly if something goes wrong — such as a sudden drop in organic traffic that might indicate an website issue.

Soalan Lazim

How long does it take for GA4 to start showing data?

GA4 begins showing data in the Realtime report within seconds of the tracking tag being properly installed. Standard reports typically take 24 to 48 hours to populate with data. Some reports, such as the Explorations section, may take up to 72 hours before data becomes available. If you do not see any data after 48 hours, verify that your tracking tag is installed correctly using the Google Tag Assistant extension.

Is Google Analytics 4 free to use?

Yes, Google Analytics 4 is free for most businesses. The free version can handle up to 10 million events per month, which is more than sufficient for the vast majority of Singapore SMEs. For enterprise-level businesses with very high traffic volumes or advanced needs, Google offers Analytics 360, which is a paid product with higher data limits and additional features such as BigQuery integration without sampling.

Can I track multiple websites with one GA4 property?

While GA4 allows you to add multiple data streams (web, iOS app, Android app) to a single property, it is generally recommended to create separate properties for different websites. This keeps your data clean and avoids confusion. However, if you have a website and a mobile app for the same business, combining them in one property allows you to track users across platforms.

How do I track form submissions in GA4?

There are several ways to track form submissions. The simplest method is to create a GA4 event that triggers when a user reaches a thank-you page after form submission. Alternatively, you can use Google Tag Manager to fire an event when a form is submitted, which works even if your form does not redirect to a new page. For Singapore businesses using common form plugins like WPForms or Gravity Forms, GTM provides built-in form submission triggers.

What is the difference between GA4 events and conversions?

In GA4, every user interaction is tracked as an event — page views, clicks, scrolls, form submissions, and purchases are all events. A conversion is simply an event that you have marked as important to your business goals. Any event can be designated as a conversion by toggling a switch in the Events section of GA4. You should mark events as conversions when they represent valuable actions, such as completing a purchase, submitting a lead form, or making a phone call.

How do I share GA4 access with my marketing agency?

To share access, go to Admin, then Account Access Management or Property Access Management. Click the plus icon and select “Add users.” Enter the email address of the person or agency you want to grant access to, then select a role: Viewer (read-only), Analyst (can create reports), Editor (can modify settings), or Administrator (full control). For agencies managing your marketing, the Editor role is typically appropriate as it allows them to configure events and conversions without granting full administrative access.