How to Set Up GA4 Properly on a Kenyan Business Website

GA4 setup is an important step for any Kenyan business that wants to understand what happens after people visit its website. Google Analytics 4 (GA4) helps you measure website traffic, identify traffic sources, understand visitor behaviour and track important actions such as form submissions, phone clicks and purchases.

Installing the tracking code is only the beginning. If you configure GA4 incorrectly, you may record duplicate visits, miss enquiries or make marketing decisions using incomplete data.

This guide explains how to set up GA4, test your tracking and use the reports to make better business decisions.

What Is Google Analytics 4?

Google Analytics 4 is Google’s analytics platform for measuring activity across websites and apps. It records interactions as events, allowing businesses to understand how people discover their websites and what they do after arriving.

For example, a Nairobi-based web design agency might use GA4 to discover that visitors arrive through Google Search, view its portfolio and click the WhatsApp button. A shop might use it to understand which product pages attract attention and which marketing campaigns lead to purchases.

GA4 can help answer questions such as:

  • How many people visit my website?
  • Which channels bring visitors to my site?
  • Which pages attract the most attention?
  • How many visitors submit an enquiry form?
  • Which campaigns generate valuable leads?
  • Are people using my website on mobile devices or computers?

GA4 measures activity. It does not automatically explain every reason behind customer behaviour, so combine its reports with customer feedback, sales records and other relevant business information.

What You Need Before Starting Your GA4 Setup

Prepare the following before creating your analytics property:

  • A Google account: Use an account controlled by your business rather than a personal account that only one employee can access.
  • Website access: You may need access to WordPress, Shopify, your website builder or your website’s source code.
  • Google Analytics access: You need permission to create or manage the relevant property.
  • A clear measurement goal: Decide whether you want to measure enquiries, calls, purchases, bookings, registrations or another action.
  • A privacy plan: Decide how your website will inform visitors about data collection and handle consent where required.

If a developer or agency manages your website, arrange appropriate access before beginning. Your business should retain ownership or administrative control of its analytics account.

Step 1: Create Your Google Analytics Account and Property

Start at Google Analytics.

  1. Sign in with your business Google account.
  2. Select the option to start measuring if you do not already have an account.
  3. Enter your business or account name.
  4. Create a GA4 property with a clear name, such as Your Business Website.
  5. Choose the appropriate reporting time zone and currency for your business.
  6. Complete the relevant business details and setup options.

For a Kenyan business, choose the Nairobi/East Africa time zone where appropriate and select Kenyan shillings (KES) if that is the currency you use for your reporting.

These settings help you interpret dates, campaign performance and revenue consistently. If you already have an established property, review its settings before creating another one unnecessarily.

Step 2: Create a Web Data Stream

A web data stream connects your website to your GA4 property.

  1. Open the property’s Admin section.
  2. Find Data streams under the data collection settings.
  3. Choose Add stream and select Web.
  4. Enter your website URL and a descriptive stream name.
  5. Review the available enhanced measurement options.
  6. Create the stream and note the Google tag ID or Measurement ID shown in the setup details.

A Measurement ID usually starts with G-. Keep it private to your implementation process, and do not confuse it with your Google Analytics account or property ID.

Enhanced measurement can automatically capture certain interactions, such as page views, scrolls, outbound clicks and some form interactions, depending on the enabled settings and how your website is built. Review these settings instead of assuming every interaction is already being recorded.

Step 3: Install the Google Tag on Your Website

The Google tag sends website activity to GA4. Choose an installation method that fits your website and avoid installing the same tracking configuration multiple times.

Option A: Use a website platform or plugin

If your website uses WordPress, Shopify, Wix or another supported platform, check whether it offers a recognised Google Analytics integration.

For WordPress, you might use a supported integration or a reputable analytics plugin. Follow its instructions and confirm that the tag is firing correctly.

Option B: Use Google Tag Manager

Google Tag Manager (GTM) lets you manage tracking tags without repeatedly editing your website’s code.

A typical setup involves:

  1. Creating a GTM account and web container.
  2. Installing the GTM container snippets on your website.
  3. Creating a Google tag in the container.
  4. Entering your GA4 tag ID.
  5. Configuring the tag to run on the appropriate pages.
  6. Previewing and testing the setup.
  7. Publishing the container after confirming that it works.

GTM is especially useful if you plan to track multiple actions, advertising pixels or custom events. However, it still requires careful configuration.

Option C: Install the Google tag directly

If your website is custom-built, a developer can install the Google tag using the official instructions supplied in Google Analytics.

Make sure the tag is implemented across the intended pages, including relevant landing pages and enquiry or checkout flows. If your website is a single-page application, additional configuration may be needed to track navigation between views accurately.

Important: Do not install the same GA4 tag independently through your website code, a plugin and Google Tag Manager without checking how they interact. Duplicate implementations can inflate page views and other events.

For the official instructions, see Google’s GA4 setup guide and Google Tag Manager setup guide.

Step 4: Configure the Events That Matter to Your Business

GA4 uses events to record interactions. Some events are collected automatically or through enhanced measurement, while others require additional setup.

The right events depend on what your website is designed to achieve.

Business websiteUseful interactions to measure
Service businessEnquiry form submissions, phone clicks and booking requests
E-commerce storeProduct views, add-to-cart actions, checkout steps and purchases
Training providerCourse views, registration submissions and successful registrations
Real estate agencyProperty views, viewing requests and calls
RestaurantMenu views, reservation requests and online orders

For example, if you run a service business and most customers enquire through WhatsApp, a WhatsApp button click can be a useful event. However, a click is not the same as a completed conversation or a paying customer. GA4 generally cannot confirm the final outcome unless you connect or import suitable data from another system.

Similarly, a form interaction is not necessarily a successful submission. Where possible, track the confirmed submission rather than only the visitor clicking the submit button.

Use consistent event names

Choose clear, consistent names and parameters for custom events. Where GA4 provides recommended event names for your use case, use them appropriately.

Avoid creating several events for the same action. If your website has separate contact forms on the homepage and contact page, you may want to record the page or form location as an event parameter instead of creating unnecessary duplicate event definitions.

Step 5: Mark Important Actions as Key Events

Once the relevant events are working, identify which actions represent meaningful business outcomes.

GA4 uses the term key events for events that are especially important to your business. You can designate suitable events as key events in the GA4 interface.

Examples include:

  • A successful enquiry submission.
  • A completed booking request.
  • A successful registration.
  • A completed online purchase.

Do not mark every click or page view as a key event. If everything counts as a conversion, it becomes difficult to determine whether your marketing is generating genuine business opportunities.

For a Kenyan service business, a useful starting point might be to measure successful enquiry submissions and then compare those results with qualified leads recorded by the sales team.

Step 6: Test Your GA4 Setup Before Relying on It

Never assume that tracking works simply because the tag has been installed.

Use GA4’s Realtime report and DebugView, where applicable, to inspect incoming events. Google Tag Manager users can also use its Preview mode and Tag Assistant to troubleshoot tag behaviour.

Follow this testing checklist:

  • Open the website in a fresh browser session.
  • Visit several important pages.
  • Check whether page views and expected events appear.
  • Click the phone and WhatsApp buttons.
  • Submit a test enquiry using a form designed for testing.
  • Test the main conversion journey on mobile and desktop.
  • Check whether events are firing more than once.
  • Review any consent settings and verify that tags behave as intended.

Some reports may take time to process, so do not treat the absence of an event in every standard report immediately after testing as proof of failure. Use the appropriate real-time and debugging tools first.

Also remember that browser privacy settings, ad blockers, consent choices and technical errors can affect the data collected. Analytics will not necessarily record every visitor.

Step 7: Check Traffic Sources and Campaign Tracking

Knowing that your website receives visitors is useful. Knowing where they came from is more valuable.

GA4 can help you examine traffic from sources such as organic search, direct visits, referral websites, email and paid campaigns.

For campaigns that use links, apply consistent UTM parameters where appropriate. For example, a business promoting a service on Facebook could use campaign parameters to distinguish that campaign’s traffic from other visits.

Use consistent naming conventions for campaign source, medium and campaign name. Inconsistent values such as Facebook, facebook and FB can make reporting harder to interpret.

Do not add campaign parameters to internal website links. This can interfere with attribution and make the customer journey more difficult to understand.

Step 8: Connect GA4 to Your Marketing Workflow

GA4 becomes more useful when its findings influence decisions.

Depending on your reporting needs, you can consider connecting it to tools such as:

  • Google Search Console: To review organic search performance alongside website analytics.
  • Google Ads: To support campaign measurement and suitable conversion workflows.
  • Looker Studio: To build dashboards combining selected data sources.
  • Your CRM or sales records: To compare website enquiries with qualified leads and actual sales, using appropriate integrations or reporting processes.

For example, if your website receives traffic from Google Search but few visitors submit enquiries, investigate the pages attracting that traffic, the relevance of the content, the clarity of your offer and the ease of contacting your business.

If a campaign produces many clicks but few qualified leads, review the landing page, audience targeting and follow-up process before increasing the budget.

Read more about how to turn website visitors into WhatsApp conversations and how to follow up leads.

Step 9: Handle Privacy and Data Protection Responsibly

Analytics setup is not only a technical task. Kenyan businesses should consider the Kenya Data Protection Act, applicable regulations and guidance from the Office of the Data Protection Commissioner (ODPC).

Review what information your website collects, why it is collected, how it is disclosed to visitors and what legal basis applies to the processing. Where consent is required, ensure your consent mechanism works as intended before the relevant tracking takes place.

Avoid sending personal information such as names, email addresses, phone numbers or other directly identifying details to GA4 through URLs, event parameters or page titles. Review form confirmation pages and campaign links for accidental data exposure.

Your privacy notice and consent controls should reflect your actual implementation. If your website serves visitors in other jurisdictions, additional privacy requirements may apply.

Useful resources include the Office of the Data Protection Commissioner and Google’s official Analytics documentation.

Common GA4 Setup Mistakes to Avoid

Installing duplicate tags: This can result in inflated event counts and misleading reports.

Tracking clicks instead of outcomes: A button click may not mean an enquiry was successfully submitted or a purchase completed.

Ignoring mobile testing: A tracking implementation that works on a computer may behave differently on mobile devices.

Leaving key events undefined: Without clear business goals, analytics reports may show activity without explaining whether the website is delivering value.

Using inconsistent campaign names: Poor naming conventions make it harder to compare marketing channels.

Expecting perfect data: Consent choices, browser restrictions, blockers and implementation issues can create gaps in measurement.

Never reviewing reports: Collecting data without using it to improve content, campaigns or conversion journeys wastes the opportunity.

A Practical GA4 Setup Checklist

Before considering your setup ready, confirm the following:

  • A GA4 property exists for the correct business.
  • The reporting time zone and currency are appropriate.
  • The correct website data stream has been created.
  • The Google tag is installed on the intended pages.
  • Duplicate tracking implementations have been checked.
  • Important events are configured and tested.
  • Genuine business outcomes are marked as key events.
  • Realtime or debugging tools confirm that expected events arrive.
  • Campaign tracking uses consistent naming.
  • Privacy notices and consent controls have been reviewed.
  • Someone is responsible for reviewing reports and taking action.

Frequently Asked Questions

Is Google Analytics 4 free?

Google Analytics offers a free version suitable for many small and medium-sized business websites. Some advanced analytics needs may require other tools, technical work or paid services.

How long does GA4 setup take?

A basic implementation may take a few hours when website access is available and the setup is straightforward. Custom events, e-commerce tracking, consent configuration and testing can take longer. The time required depends on the website’s structure and measurement requirements.

Can I install GA4 on WordPress?

Yes. You can use a suitable WordPress integration, a supported plugin, Google Tag Manager or a manual implementation. Whichever method you choose, test it and avoid duplicate tags.

Does GA4 show how many customers my website generates?

GA4 can measure configured actions such as enquiry submissions and purchases. It does not automatically know whether every enquiry becomes a qualified lead or a completed sale. You may need CRM or sales data to measure the full journey.

Do I need Google Tag Manager to use GA4?

No. GA4 can be installed without Google Tag Manager. GTM is useful when you need to manage multiple tags or configure more advanced tracking, but it is not compulsory for every website.

What should I check first if GA4 shows no data?

Confirm that the correct tag is installed, the intended property and stream are selected, and the tag is firing. Use Realtime, DebugView or Tag Assistant to test the implementation. Also review consent settings, browser restrictions and any recent website changes.

Conclusions

A proper GA4 setup gives your business a clearer view of website performance, but accurate measurement requires more than adding a tracking code. You need meaningful events, reliable testing, consistent campaign tracking and a process for using the results.

For Kenyan businesses investing in website design, SEO or paid advertising, these insights can help identify what is working and where the customer journey needs improvement.

Need a website that is built to support your marketing goals? Elon Designs can help you improve your website structure, user experience and conversion journey, with analytics requirements considered as part of the project. Visit Elon Designs to explore your options.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *