Kokil Thapa - Professional Web Developer in Nepal
Freelancer Web Developer in Nepal with 15+ Years of Experience

Kokil Thapa is an experienced full-stack web developer focused on building fast, secure, and scalable web applications. He helps businesses and individuals create SEO-friendly, user-focused digital platforms designed for long-term growth.

Google Analytics 4 Setup Guide Nepal 2026 — Complete GA4 Tutorial

By Kokil Thapa | Last reviewed: April 2026

Google Universal Analytics shut down permanently in July 2024, and many Nepal-based websites either never migrated to GA4 or set it up incorrectly. Misconfigured analytics means you are making SEO and marketing decisions blind — no traffic data, no conversion tracking, no understanding of how users find and interact with your site. As a web developer in Nepal with 15+ years of building and optimizing websites, I have set up GA4 on hundreds of client sites. This guide walks you through the complete GA4 setup process for Nepal websites in 2026 AD (2083 BS) — from creating your property to tracking conversions and connecting Google Search Console.

Quick answer: Google Analytics 4 (GA4) is Google's current analytics platform that uses event-based tracking instead of session-based tracking. It replaced Universal Analytics and is now the only supported version. Setup takes 15–30 minutes for a basic installation.

Why GA4 Matters for Nepal Websites

Analytics is not optional in 2026 — it is the foundation of every data-driven decision. For Nepal businesses and developers, GA4 provides:

  • Free, enterprise-grade analytics — no cost for up to 10 million events per month
  • User journey tracking — understand how Nepali visitors navigate your site across devices
  • Conversion measurement — track form submissions, purchases, phone calls, and sign-ups
  • SEO performance data — when integrated with Google Search Console, see which keywords drive traffic
  • Audience insights — geographic, demographic, and behavioral data specific to your Nepal audience

If you are working on SEO optimization for your Nepal website, GA4 data is essential for measuring what is actually working.

How to Set Up Google Analytics 4 — Step by Step

Step 1: Create a Google Analytics Account

  1. Go to analytics.google.com
  2. Sign in with your Google account (use a business Google account, not personal)
  3. Click "Start measuring" if this is your first property, or go to Admin → Create → Account
  4. Enter your account name (your business name or website name)
  5. Configure data sharing settings — enable all for maximum insights
  6. Click Next

Tip for Nepal businesses: Create one GA4 account per business entity. If you manage multiple client websites, create separate accounts for each client — do not mix them under one account.

Step 2: Create a GA4 Property

  1. Enter your property name (e.g., "Kokil.com.np" or "My Nepal Business")
  2. Set the reporting time zone to Nepal Time (GMT+5:45) — this is critical for accurate daily reports
  3. Set currency to Nepalese Rupee (NPR) for revenue and conversion value tracking
  4. Click Next
  5. Select your business industry category and size
  6. Choose your business objectives — select "Generate leads" or "Drive online sales" depending on your site type
  7. Click Create
Important: Setting the timezone to Nepal Time (GMT+5:45) ensures your daily traffic reports align with Nepali business hours. If you leave it as US Pacific time, your "today" reports will be off by nearly 12 hours.

Step 3: Set Up a Data Stream

A data stream is the connection between your website and GA4. For websites:

  1. Select "Web" as the platform
  2. Enter your website URL (e.g., https://yoursite.com.np)
  3. Enter a stream name (e.g., "Main Website")
  4. Enable Enhanced Measurement — this automatically tracks page views, scrolls, outbound clicks, site search, video engagement, and file downloads without any extra code
  5. Click "Create stream"
  6. Copy the Measurement ID (starts with G-) — you will need this for installation

Step 4: Install the GA4 Tracking Code

There are three methods to install GA4 on your Nepal website:

Method A: Google Tag (gtag.js) — Direct Installation

Add this code to the <head> section of every page on your site:

<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-XXXXXXXXXX'); </script>

Replace G-XXXXXXXXXX with your actual Measurement ID.

Google Tag Manager (GTM) is the preferred method because it lets you manage all tracking tags from one interface without editing website code:

  1. Create a GTM account at tagmanager.google.com
  2. Install the GTM container code on your website (two snippets — one in <head>, one after <body>)
  3. In GTM, create a new tag → select "Google Analytics: GA4 Configuration"
  4. Enter your Measurement ID
  5. Set the trigger to "All Pages"
  6. Publish the container

Method C: WordPress Plugin

If your Nepal website runs on WordPress, use the official Site Kit by Google plugin or MonsterInsights. Both provide one-click GA4 setup without touching code.

For Laravel-based websites, add the gtag.js snippet to your main Blade layout file (typically resources/views/layouts/app.blade.php) inside the <head> section.

Step 5: Verify Installation

After installing the tracking code:

  1. Go to your GA4 property → Reports → Realtime
  2. Open your website in a browser
  3. You should see at least 1 active user in the Realtime report within 30 seconds
  4. Check the DebugView (Admin → DebugView) for detailed event logging

If you do not see data, check: Is the Measurement ID correct? Is the script loading (check browser DevTools → Network tab)? Is an ad blocker interfering?

How to Configure GA4 Events and Conversions

Understanding GA4 Event Types

GA4 uses an event-based data model. Every user interaction is an event. There are four types:

TypeExamplesSetup Required
Automatically collectedpage_view, first_visit, session_startNone — collected by default
Enhanced measurementscroll, click (outbound), file_download, video_startToggle on in data stream settings
Recommended eventslogin, sign_up, purchase, generate_leadCustom implementation needed
Custom eventscontact_form_submit, calculator_used, tool_accessedCustom implementation needed

Setting Up Conversion Events

Conversions (called "Key Events" in GA4 since March 2024) are the actions that matter most to your business. For a typical Nepal business website:

  1. Go to Admin → Events
  2. Find the event you want to mark as a conversion (e.g., generate_lead)
  3. Toggle the "Mark as key event" switch

Common conversions for Nepal websites:

  • Contact form submission
  • Phone number click (click-to-call)
  • WhatsApp button click
  • Quote request submission
  • Newsletter signup
  • Ecommerce purchase

Tracking Custom Events with gtag.js

To track events not covered by automatic or enhanced measurement, fire custom events using JavaScript:

// Track contact form submission gtag('event', 'generate_lead', { 'event_category': 'Contact', 'event_label': 'Contact Form', 'value': 1 }); // Track tool usage gtag('event', 'tool_used', { 'event_category': 'Tools', 'tool_name': 'salary_calculator' });

Connecting GA4 with Google Search Console

Linking GA4 with Google Search Console (GSC) gives you organic search data directly inside your analytics reports — which keywords drive traffic, which pages rank, and what your click-through rates are.

  1. In GA4, go to Admin → Product links → Search Console links
  2. Click "Link"
  3. Select your Search Console property (you must be verified as an owner in GSC)
  4. Select the GA4 web data stream to link
  5. Click "Submit"

After linking, you will find Search Console data under Reports → Search Console → Queries and Google organic search traffic.

For deeper SEO analysis, having an SEO expert review your GA4 + GSC data together reveals patterns that neither tool shows alone.

GA4 Reports Every Nepal Website Owner Should Monitor

ReportPath in GA4Why It Matters
Traffic AcquisitionReports → Acquisition → Traffic acquisitionSee where visitors come from — organic, direct, social, referral
Pages and ScreensReports → Engagement → Pages and screensIdentify your most and least visited pages
Landing PagesReports → Engagement → Landing pagesSee which pages users enter your site through from Google
User DemographicsReports → User → DemographicsUnderstand your Nepal vs international audience split
Search Console QueriesReports → Search Console → QueriesSee which keywords drive organic traffic
ConversionsReports → Engagement → ConversionsTrack business-critical actions — leads, sales, signups

Common GA4 Mistakes on Nepal Websites

  1. Wrong timezone — leaving the default US timezone instead of setting Nepal Time (GMT+5:45). Your daily reports will not match your actual business hours.
  2. Not setting currency to NPR — if you track ecommerce or lead values, wrong currency makes revenue reports meaningless.
  3. Duplicate tracking codes — installing GA4 both directly and through GTM causes double-counted page views and inflated metrics.
  4. Not filtering internal traffic — your own visits and your team's visits skew data. Set up an IP filter in Admin → Data Streams → Configure tag settings → Define internal traffic.
  5. Ignoring Enhanced Measurement — many Nepal sites have it disabled, missing free scroll, outbound click, and file download tracking.
  6. No conversion tracking — collecting page view data without tracking conversions means you cannot measure ROI on SEO or advertising.
  7. Not linking Search Console — the single most valuable integration for SEO, yet most Nepal websites skip it.

GA4 Data Retention Settings

By default, GA4 retains user-level data for only 2 months. For meaningful analysis, extend this:

  1. Go to Admin → Data Settings → Data Retention
  2. Change event data retention to 14 months (the maximum for free GA4)
  3. Enable "Reset user data on new activity" to keep extending retention for returning users

This setting does not affect aggregated reports (those are retained indefinitely), but it does affect the Explorations tool where you build custom reports.

Setting up GA4 correctly from the start saves months of lost data and poor decision-making. Whether you are tracking traffic to your blog, monitoring free online tools, or measuring ecommerce conversions, GA4 gives you the data Nepal businesses need to grow in 2026 AD (2083 BS) and beyond. If your website speed is impacting your SEO, GA4's Core Web Vitals integration also helps identify performance issues affecting your rankings.

Frequently Asked Questions

Yes, GA4 is completely free for up to 10 million events per month.

Google Analytics 4 replaced Universal Analytics, which shut down in July 2024.

A basic GA4 setup takes 15 to 30 minutes for most websites.

Set your GA4 property timezone to Nepal Time at GMT plus 5:45. This ensures daily traffic reports align with Nepali business hours. Using the wrong timezone means your today report will be off by nearly 12 hours, making daily analysis unreliable.

Add the gtag.js tracking snippet inside the head section of your main Blade layout file, typically located at resources/views/layouts/app.blade.php. Replace the placeholder Measurement ID with your actual GA4 ID starting with G dash. Alternatively, use Google Tag Manager for easier management.

Events are any user interaction tracked by GA4 such as page views, scrolls, and clicks. Conversions, now called key events, are specific events you mark as important for your business like form submissions or purchases. All conversions are events, but not all events are conversions.

Go to Admin, then Product links, then Search Console links in your GA4 property. Click Link, select your verified Search Console property, choose the web data stream, and submit. After linking, organic search data including keywords and click-through rates appears under Reports in GA4.

Enhanced Measurement is a GA4 feature that automatically tracks six common user interactions without any code changes: page views, scrolls to 90 percent depth, outbound link clicks, site search queries, video engagement, and file downloads. Enable it in your data stream settings for free tracking.

Go to Admin, Data Streams, select your stream, click Configure tag settings, then Define internal traffic. Add your office IP address and label it. Then in Admin, Data Settings, Data Filters, activate the internal traffic filter. This prevents your own visits from inflating analytics data.

Fire a custom generate_lead event when the form submits successfully using gtag event with the event name generate_lead. Then in GA4 Admin under Events, find generate_lead and toggle Mark as key event. This tracks form submissions as conversions so you can measure lead generation effectiveness.

GA4 retains user-level data for 2 months by default. Change this to 14 months, the maximum for free GA4, in Admin under Data Settings then Data Retention. Aggregated report data is retained indefinitely regardless of this setting, but custom Explorations reports need extended retention for historical analysis.

Google Tag Manager is recommended for most Nepal websites because it lets you manage all tracking tags from one interface without editing website code. Direct gtag.js installation works for simple sites that only need GA4. If you plan to add Facebook Pixel, remarketing tags, or other scripts later, start with GTM.

Yes, GA4 supports full ecommerce tracking including product views, add to cart, checkout steps, and purchase events. Set the currency to NPR in your property settings so revenue reports show Nepalese Rupee values. Ecommerce tracking requires custom event implementation on your product and checkout pages.

Check traffic acquisition to see where visitors come from, landing pages to identify top entry pages from Google, pages and screens for most viewed content, and conversions for business-critical actions like form submissions. If linked, check Search Console queries weekly to monitor keyword ranking changes.

Common causes include an incorrect Measurement ID, the tracking script not loading due to a syntax error, ad blockers preventing the script from firing, or the code placed outside the head tag. Verify by checking your browser DevTools Network tab for a request to google-analytics.com and use GA4 DebugView for real-time troubleshooting.

Share this article

Quick Contact Options
Choose how you want to connect me: