Skip to main content
Samuel MwangaWeb Developer · Tanzania

How to Set Up Google Analytics for Your Tanzanian Website

7 min readBy Samuel Mwanga

How to Set Up Google Analytics for Your Tanzanian Website

In this article:

A beginner-friendly guide to installing and configuring Google Analytics for effective tracking and optimization of your Tanzanian website.

Google Analytics is an essential tool for understanding how visitors interact with your website, what’s working, and what needs improvement. For Tanzanian business owners, this insight is invaluable for making data-driven decisions to grow your online presence.

This step-by-step guide will walk you through setting up Google Analytics for your Tanzanian website, with specific considerations for the local market.

Step 1: Create a Google Analytics Account

If you don’t already have one, you’ll need to create a Google account. Then:

1. Go to analytics.google.com and sign in with your Google account

2. Click ‘Start measuring’

3. Provide an account name (typically your company name)

4. Configure your account settings and accept the terms of service

Step 2: Set Up a Property for Your Website

After creating your account:

1. Create a property (this represents your website)

2. Select ‘Web’ as your platform

3. Enter your website URL (ensure you select the correct http:// or https:// protocol)

4. Name your property (usually your website name)

5. Select your industry category and reporting time zone (select ‘Eastern Africa Time’ for Tanzania)

For Tanzanian websites, it’s important to set your preferred currency to Tanzanian Shilling (TZS) if you’ll be tracking e-commerce transactions or have an online store.

Step 3: Set Up a Data Stream

A data stream is how Google Analytics collects data from your website:

1. In your property, go to ‘Data Streams’ and click ‘Add Stream’

2. Select ‘Web’

3. Enter your website URL and stream name

4. Click ‘Create Stream’

You’ll then receive a measurement ID (starting with ‘G-’) and a tracking code snippet.

Step 4: Install the Tracking Code on Your Website

How you add the tracking code depends on your website platform:

Install a plugin like ‘MonsterInsights’ or ‘GA Google Analytics’

Enter your measurement ID in the plugin settings

For custom-built websites:

Add the provided JavaScript snippet to the section of every page on your site

Ideally, work with your web developer to implement this correctly

For e-commerce platforms:

Most have built-in fields for adding Google Analytics in their settings

Step 5: Set Up Key Features for Tanzanian Websites

1. Configure Demographics and Interests Reports:

Go to Admin > Property Settings

Enable ‘Demographics and Interests Reports’

This helps you understand the age, gender, and interests of your Tanzanian visitors.

2. Set Up E-commerce Tracking (if applicable):

Go to Admin > E-commerce Settings

Toggle ‘Enable E-commerce’ to on

If you use advanced e-commerce features, enable ‘Enhanced E-commerce’

Important for tracking online sales in Tanzania, especially if you accept mobile payments like M-Pesa or Tigo Pesa.

3. Create Custom Dimensions for Tanzania-specific data:

Consider tracking custom dimensions relevant to the Tanzanian market, such as:

Region within Tanzania

Language preference (English/Swahili)

Mobile network operator (important as many Tanzanians browse via mobile data)

Step 6: Set Up Goals and Conversion Tracking

Goals help you measure how often users complete specific actions:

1. Go to Admin > Goals

2. Click ‘+ New Goal’

3. Select a template or create a custom goal

Common goals for Tanzanian websites include:

Contact form submissions

Newsletter sign-ups

WhatsApp chat initiations (very popular in Tanzania)

Product inquiries

Online purchases

Step 7: Set Up Regular Reports and Monitoring

Configure automated reports to keep track of your website’s performance:

1. Navigate to ‘Reports’ > ‘Dashboards’

2. Create a custom dashboard with the metrics most important to your business

3. Schedule regular emails with these reports

For Tanzanian websites, pay special attention to:

Mobile vs. desktop usage

Geographic reports (which regions of Tanzania visit most)

Page load time (critical due to variable internet speeds)

Bounce rates on key pages

With Google Analytics properly set up, you’ll have valuable insights to help optimize your website for the Tanzanian market and grow your online presence. Remember that data collection takes time, so be patient as you gather enough information to make informed decisions.

Related Articles

Ready to Start Your Website Project?

Get a free quote for website design, hosting, or SEO — I reply within 24 hours.