
April 12, 2026
8 min read
Table of Contents
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.
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
- Go to analytics.google.com
- Sign in with your Google account (use a business Google account, not personal)
- Click "Start measuring" if this is your first property, or go to Admin → Create → Account
- Enter your account name (your business name or website name)
- Configure data sharing settings — enable all for maximum insights
- 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
- Enter your property name (e.g., "Kokil.com.np" or "My Nepal Business")
- Set the reporting time zone to Nepal Time (GMT+5:45) — this is critical for accurate daily reports
- Set currency to Nepalese Rupee (NPR) for revenue and conversion value tracking
- Click Next
- Select your business industry category and size
- Choose your business objectives — select "Generate leads" or "Drive online sales" depending on your site type
- Click Create
Step 3: Set Up a Data Stream
A data stream is the connection between your website and GA4. For websites:
- Select "Web" as the platform
- Enter your website URL (e.g.,
https://yoursite.com.np) - Enter a stream name (e.g., "Main Website")
- Enable Enhanced Measurement — this automatically tracks page views, scrolls, outbound clicks, site search, video engagement, and file downloads without any extra code
- Click "Create stream"
- 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.
Method B: Google Tag Manager (Recommended)
Google Tag Manager (GTM) is the preferred method because it lets you manage all tracking tags from one interface without editing website code:
- Create a GTM account at tagmanager.google.com
- Install the GTM container code on your website (two snippets — one in
<head>, one after<body>) - In GTM, create a new tag → select "Google Analytics: GA4 Configuration"
- Enter your Measurement ID
- Set the trigger to "All Pages"
- 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:
- Go to your GA4 property → Reports → Realtime
- Open your website in a browser
- You should see at least 1 active user in the Realtime report within 30 seconds
- 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:
| Type | Examples | Setup Required |
|---|---|---|
| Automatically collected | page_view, first_visit, session_start | None — collected by default |
| Enhanced measurement | scroll, click (outbound), file_download, video_start | Toggle on in data stream settings |
| Recommended events | login, sign_up, purchase, generate_lead | Custom implementation needed |
| Custom events | contact_form_submit, calculator_used, tool_accessed | Custom 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:
- Go to Admin → Events
- Find the event you want to mark as a conversion (e.g.,
generate_lead) - 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.
- In GA4, go to Admin → Product links → Search Console links
- Click "Link"
- Select your Search Console property (you must be verified as an owner in GSC)
- Select the GA4 web data stream to link
- 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
| Report | Path in GA4 | Why It Matters |
|---|---|---|
| Traffic Acquisition | Reports → Acquisition → Traffic acquisition | See where visitors come from — organic, direct, social, referral |
| Pages and Screens | Reports → Engagement → Pages and screens | Identify your most and least visited pages |
| Landing Pages | Reports → Engagement → Landing pages | See which pages users enter your site through from Google |
| User Demographics | Reports → User → Demographics | Understand your Nepal vs international audience split |
| Search Console Queries | Reports → Search Console → Queries | See which keywords drive organic traffic |
| Conversions | Reports → Engagement → Conversions | Track business-critical actions — leads, sales, signups |
Common GA4 Mistakes on Nepal Websites
- 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.
- Not setting currency to NPR — if you track ecommerce or lead values, wrong currency makes revenue reports meaningless.
- Duplicate tracking codes — installing GA4 both directly and through GTM causes double-counted page views and inflated metrics.
- 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.
- Ignoring Enhanced Measurement — many Nepal sites have it disabled, missing free scroll, outbound click, and file download tracking.
- No conversion tracking — collecting page view data without tracking conversions means you cannot measure ROI on SEO or advertising.
- 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:
- Go to Admin → Data Settings → Data Retention
- Change event data retention to 14 months (the maximum for free GA4)
- 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.

