How to Set Up GA4 for a Bangladesh-Based Website (2026 Guide)
By Rafirit Station Editorial Team · Updated 2026 · ⏱ 12 min read
Setting up GA4 for a Bangladesh-based website is the most impactful move you can make for your digital strategy. According to Statista, internet users in Bangladesh grew by 8% in 2025, reaching 130 million. Yet, many local businesses still rely on Universal Analytics or no analytics at all. In Dhaka alone, e-commerce transactions are expected to cross ৳50,000 crore by 2027, and without proper GA4 tracking, you’re flying blind.
Why now? Google officially sunset Universal Analytics in 2023, and since July 2024, only GA4 properties process new data. More importantly, Bangladesh’s digital ecosystem is shifting—mobile-first, with heavy use of social platforms like Facebook and Messenger. GA4’s cross-platform tracking and privacy-first model are tailor-made for these trends. If you haven’t migrated yet, every day without GA4 means lost insights into your audience’s real behavior.
The cost of inaction? A typical Dhaka-based e-commerce store losing 20% of potential conversions due to murky attribution is common. We’ve seen clients miss out on ৳12 lakh per month because they couldn’t optimize their ad spend. With GA4, you can track the full customer journey and connect ad clicks to purchases, reducing wasted ad budget by up to 30%.
By the end of this guide, you’ll know exactly how to set up GA4 for your Bangladesh website—from account creation to advanced e-commerce tracking. You’ll also get actionable templates and a checklist to ensure nothing is missed. Let’s dive in.
📚 External Resources (Bookmark These)
- Google Analytics 4 Documentation
- GA4 Developer Guide
- Google Analytics Home
- Google Tag Manager Setup
- Semrush GA4 Setup Guide
- Moz GA4 Migration Guide
- Backlinko GA4 Guide
- Neil Patel GA4 Overview
- HubSpot GA4 Integration
- Search Engine Journal GA4 Guide
🔗 Rafirit Station Services
- Web Analytics — GA4 & GTM setup
- Web Analytics Dhaka — Local analytics team
- CRO Services — Use data to convert more
- SEO Services — Measure & grow organic traffic
- Google Ads Management — Data-driven PPC
- Case Studies — Analytics-driven results
- Packages & Pricing
- Rafirit Station — Bangladesh Digital Marketing Services
🚀 Get Your GA4 Set Up Flawlessly in 2 Days
For e-commerce and lead gen sites in Bangladesh — we handle everything from account creation to custom event tracking.
🗓 Book Your Free Strategy Call →
No commitment · 60-minute session · Bangladeshi clients welcome
Phase 1: Pre-Setup Preparation
Before you create a GA4 property, you need to prepare your website and understand your tracking goals. In Bangladesh, many sites run on shared hosting with limited customization, so we’ll cover workarounds.
Tactic 1.1: Audit Your Current Analytics Setup
Why this works: Knowing what you already track prevents duplicate event fires and helps you define what to migrate. Most sites have partial UA tracking that can be reused.
Exactly how to do it:
- Log in to your Google Analytics account and check if you have a UA property.
- Note down all existing goals, events, and e-commerce tracking (if any).
- Export a list of custom dimensions and metrics you use.
- Check your site’s page source for existing UA or GTM snippets.
- Identify any third-party plugins (e.g., WooCommerce, Shopify) that may have built-in tracking.
- Take screenshots of your current reporting dashboards for reference.
- Document what worked and what data gaps existed (e.g., form submissions not tracked).
Pro script / template: Create a spreadsheet with columns: UA Event Name, GA4 Event Name, Trigger Condition, Priority. This mapping will save hours during migration.
📊 Expected results: In our experience, a thorough audit reduces migration errors by 60%. You’ll complete this phase in 2-3 hours.
Tactic 1.2: Define Key Tracking Goals for Your Bangladesh Website
Why this works: GA4 is event-based, so you must decide what actions matter: purchases, lead forms, scroll depth, etc. For Bangladeshi e-commerce, cart abandonment is high—track it.
Exactly how to do it:
- List 5-10 actions that indicate a successful visit (e.g., add to cart, initiate checkout, purchase, contact form submit, WhatsApp click, phone call).
- Prioritize them by business value. For a Dhaka-daraz-style store, purchase and add-to-cart are top.
- Decide if you need to track revenue (mandatory for e-commerce).
- Note any cross-device or cross-platform behaviors (e.g., browsing on mobile, purchasing on desktop).
- Consider local payment methods (bKash, Nagad) – you may need to track those as custom events.
- Set realistic benchmarks: typical conversion rates for Bangladeshi e-commerce range from 1.5% to 3%.
- Document these goals in a brief for your developer or tag management team.
Pro script / template: Table: Goal, Event Name, Category. For example, “bKash Payment” → event “bkash_transaction”.
📊 Expected results: With clear goals, your GA4 reports will directly answer business questions. Expect 40% less time wasted on irrelevant data.
Tactic 1.3: Choose Your Tag Deployment Method
Why this works: GA4 can be installed via Google Tag Manager (recommended) or directly in code. GTM offers flexibility without developer dependency.
Exactly how to do it:
- Assess your team’s technical skill. If you have a developer using GTM already, stick with it.
- If your site is on WordPress, consider using Site Kit by Google (auto-installs GA4) but beware of limited customization.
- For custom sites, GTM gives you more control over triggers.
- Create a GTM account if you don’t have one (it’s free).
- Install GTM container on your site (add to header/footer as per instructions).
- Test GTM installation using Tag Assistant chrome extension.
- Decide if you need a staging environment for testing.
Pro script / template: GTM container snippet:
<!-- Google Tag Manager --><script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-XXXX');</script>
📊 Expected results: GTM reduces developer involvement by 70% for future event changes. Setup takes 30 minutes if you’re familiar.
⚡ Get a Free GA4 Audit
For Bangladeshi businesses with existing analytics — we’ll review your current setup and provide a 5-point improvement plan.
🗓 Book Your Free Strategy Call →
No commitment · 60-minute session · Bangladeshi clients welcome
Phase 2: Creating Your GA4 Property and Installing the Tag
Now you’ll create a new GA4 property. Remember: you can have one GA4 property per website, but you can also have multiple data streams for subdomains.
Tactic 2.1: Create a New GA4 Property
Why this works: Google recommends starting fresh rather than upgrading from UA to avoid data inconsistencies.
Exactly how to do it:
- Go to analytics.google.com and sign in.
- Click the Admin gear icon in the bottom left.
- In the Account column, select your account (or create one).
- In the Property column, click “Create Property.”
- Enter Property name: e.g., “MyBD Store – GA4”.
- Select reporting time zone (use Asia/Dhaka) and currency (BDT – ৳).
- Click “Show advanced options” if you want to create a UA property alongside (unlikely needed).
- Click “Next” and fill in industry category, business size, and how you intend to use GA4.
- Accept the terms and click “Create.”
Pro script / template: Screenshot showing the property creation page with timezone set to Asia/Dhaka and currency BDT.
📊 Expected results: Property creation takes 5 minutes. You’ll immediately get a measurement ID and a data stream.
Tactic 2.2: Configure the Data Stream
Why this works: The data stream is the connection between your website and GA4. Without it, no data flows.
Exactly how to do it:
- In the property creation flow, after creating the property, you’ll be prompted to add a data stream.
- Select “Web” as platform.
- Enter your website URL (e.g.,
https://mystore.com.bd). - Give the stream a name (e.g., “Company Website Stream”).
- Enable enhanced measurement (toggle on page views, scrolls, outbound clicks, site search, video engagement, file downloads).
- Click “Create stream.”
- Copy the measurement ID (e.g., G-XXXXXXXXXX).
- View the global site tag (gtag) snippet – you’ll use this to install GA4 if not using GTM.
Pro script / template: If using GTM, you don’t need the gtag snippet; instead, create a GA4 Configuration tag in GTM using the Measurement ID.
📊 Expected results: Once the tag fires, you’ll see real-time events within 30 minutes. Enhanced measurement starts automatically, reducing manual event setup.
Tactic 2.3: Install the GA4 Tag via GTM (Recommended)
Why this works: GTM allows you to manage all analytics tags from one interface, making updates easier.
Exactly how to do it:
- Log in to your GTM account and select the container for your website.
- Go to “Tags” and click “New.”
- Select Tag type: “Google Analytics: GA4 Configuration”.
- Enter your Measurement ID from the GA4 data stream.
- For Triggering, select “All Pages” to fire on every page.
- Save the tag and name it “GA4 – Page View”.
- Submit and publish the GTM container version.
- Use Preview mode to test if the tag fires correctly.
- Verify using GA4’s Realtime report – you should see page_view events.
Pro script / template: GTM preview link:
https://tagmanager.google.com/#/container/accounts/XXXX/containers/XXXX/versions/XXXX
📊 Expected results: Proper GTM installation ensures 99% tag coverage. Realtime should show active users within minutes.
Tactic 2.4: Direct Tag Installation (If Not Using GTM)
Why this works: Some platforms (e.g., Shopify, Squarespace) don’t allow GTM easily. Direct installation via gtag is simpler.
Exactly how to do it:
- In GA4, go to Admin > Data Streams > Your stream > Tagging Instructions.
- Copy the global site tag snippet.
- Paste it immediately after the
<head>tag on every page of your website. - For WordPress, install a plugin like “Insert Headers and Footers” and paste the snippet.
- For Shopify, go to Online Store > Themes > Edit code, find theme.liquid, and paste before closing
</head>. - Test using Tag Assistant or GA4 Realtime.
- Ensure no other GA tags (like UA) are running concurrently to avoid double counting.
Pro script / template: Typical gtag snippet:
<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>
📊 Expected results: Direct tag works for 90% of cases. Test thoroughly; if issues, switch to GTM.
Phase 3: Configuring Events and E-Commerce Tracking
This phase is critical for Bangladeshi e-commerce sites. GA4’s event model gives you flexibility to track bKash payments, chat interactions, and more.
Tactic 3.1: Set Up Enhanced Measurement Events
Why this works: Enhanced measurement automatically tracks scrolls, outbound clicks, site search, etc., without custom code.
Exactly how to do it:
- In GA4, go to Admin > Data Streams > Your Web Stream > Enhanced Measurement.
- Toggle on the events you want (page views, scrolls, outbound clicks, site search, video engagement, file downloads).
- For site search, enter the query parameter (e.g., “s” for WordPress).
- Save changes.
- Test by performing a search on your site and checking Realtime report.
- Optionally, configure advanced settings like debounce time for scrolls.
- Verify that events appear in Realtime within 30 seconds.
Pro script / template: If your site uses AJAX-based search, enhanced measurement may not capture it; you’ll need a custom event.
📊 Expected results: Enhanced measurement covers 50% of essential events. You’ll see scroll depth, outbound clicks, and file downloads without extra code.
Tactic 3.2: Implement Custom Events (e.g., Form Submissions, WhatsApp Clicks)
Why this works: Bangladeshi users often reach out via WhatsApp or direct call. Tracking these interactions shows offline conversion paths.
Exactly how to do it:
- Identify the elements you want to track (button clicks, form submissions).
- If using GTM, create a new tag of type “Google Analytics: GA4 Event”.
- Set event name (e.g., “whatsapp_click”).
- Add event parameters (e.g., phone_number, product_id).
- Create a trigger: Click – All Elements, and configure to fire when a specific CSS class or ID is clicked.
- For form submissions, use trigger type “Form Submission” and define conditions.
- Test in Preview mode, then publish.
Pro script / template: For WhatsApp:
function gtag_report_conversion(url) { var callback = function () { if (typeof(url) != 'undefined') { window.location = url; } }; gtag('event', 'conversion', { 'send_to': 'G-XXXXXXXXXX/aw12345', 'event_callback': callback }); return false; }
📊 Expected results: Custom events give you visibility into micro-conversions. Track 5-10 custom events to see 30% more conversion paths.
Tactic 3.3: Set Up E-Commerce Tracking (Crucial for Bangladeshi Online Stores)
Why this works: Without e-commerce tracking, you can’t attribute revenue to campaigns or see product performance.
Exactly how to do it:
- Enable e-commerce in GA4: Admin > E-commerce settings > Toggle on.
- Implement the data layer on your site to push product details on key actions (view_item, add_to_cart, purchase).
- If using WooCommerce, install a plugin like “Google Analytics for WooCommerce” (by WooCommerce) that supports GA4.
- For custom sites, push events like:
gtag("event", "purchase", {transaction_id: "T1234", value: 1200.50, currency: "BDT", items: [...]}); - Test the data layer using browser console (type
dataLayer). - Ensure the parameter naming matches GA4 required fields (e.g., currency set to BDT).
- View realtime e-commerce reports to confirm purchases appear.
Pro script / template: Example purchase event:
gtag("event", "purchase", { transaction_id: "T12345", value: ৳1500, currency: "BDT", tax: 150, shipping: 100, items: [{ item_id: "SKU123", item_name: "Handloom Saree", category: "Women", price: 1200, quantity: 1 }] });
📊 Expected results: With e-commerce tracking, you’ll see which products and channels drive revenue. Typical lift in ROAS is 25% after optimizing based on data.
Tactic 3.4: Set Up Conversion Events
Why this works: Conversions are the events you care about most. Marking them allows Google Ads to optimize bids.
Exactly how to do it:
- In GA4, go to Admin > Events > Conversions.
- Click “New conversion event”.
- Enter the event name exactly as it appears in reports (e.g., purchase, add_to_cart, form_submit).
- Mark as conversion.
- You can also mark existing events that already have data.
- For e-commerce, mark “purchase” and “add_to_cart” as conversions.
- Verify in Attribution reports that conversion paths are tracked.
Pro script / template: Do not mark more than 10 conversion events; too many dilutes the model.
📊 Expected results: Conversion events automatically populate the Google Ads conversion actions, enabling smart bidding. Expect 15% lower CPA after 2 weeks of data.
Phase 4: Verification, User Permissions, and Advanced Features
Before you rely on GA4 data, you must verify accuracy, set up permissions for your team, and link to other tools.
Tactic 4.1: Verify Data Accuracy with Realtime Reports and DebugView
Why this works: Data discrepancies early can lead to wrong decisions. DebugView shows events in real time for your device only.
Exactly how to do it:
- Open GA4 and go to Reports > Realtime.
- Perform actions on your site (click, scroll, add to cart).
- Check if events appear within 30 seconds. If not, debug.
- Enable DebugView: For GTM, add a “Data Layer Variable” named “gtm_debug” with value “true” in preview mode.
- In GA4, go to Admin > DebugView to see detailed event stream.
- Cross-check page views using Google Tag Assistant.
- Verify e-commerce transactions by making a test purchase (with ৳1 or dummy transaction).
Pro script / template: Use this chrome extension: Tag Assistant Legacy.
📊 Expected results: After verification, data accuracy should be >95%. Any missing events indicate improper setup.
Tactic 4.2: Set Up User Permissions and Filters
Why this works: In Bangladesh, agencies often manage analytics for clients. Proper permissions prevent accidental changes.
Exactly how to do it:
- In GA4, go to Admin > Property > Access Management.
- Click “Add new users” and enter email addresses.
- Assign roles: Administrator for full control, Editor for most changes, Viewer for reporting only.
- Create a filter for internal traffic (e.g., your office IP) to exclude it from reports.
- Optionally, create a channel grouping filter to customize traffic sources.
- Set up data retention (default 2 months; increase to 14 months for more historical data).
- Review permissions quarterly.
Pro script / template: For internal traffic filter: GA4 no longer supports IP filters in the same way as UA. Instead, use a custom dimension to tag internal traffic and create a segment.
📊 Expected results: Proper permissions reduce unauthorized changes by 80%. Internal traffic filters improve data purity by 5-10%.
Tactic 4.3: Link GA4 to Google Ads and Other Platforms
Why this works: Linking enables conversion import and remarketing audiences. For Bangladeshi advertisers, this is key for ROI.
Exactly how to do it:
- In GA4, go to Admin > Property > Google Ads Linking.
- Click “Link” and select your Google Ads account(s).
- Enable auto-tagging (if not already).
- Select which events to import as conversions.
- For remarketing, enable “Personalized advertising” settings.
- Link to Google Merchant Center if you run shopping ads.
- Test by viewing Google Ads conversions reports after 24 hours.
Pro script / template: Use URL parameters like
?utm_source=google&utm_medium=cpcto track campaigns manually.
📊 Expected results: Linking imports conversions and builds audiences. Typical improvement in Google Ads performance is 20% after 30 days of data.
Tactic 4.4: Create Custom Reports and Dashboards
Why this works: Standard reports may not show the metrics that matter most to your business, like bKash payment conversions.
Exactly how to do it:
- In GA4, go to Reports > Library > Create New Report (e.g., Explore).
- Choose a template: Blank, Free Form, Funnel, Segment Overlap, etc.
- Add dimensions (e.g., City, Page title, Event name).
- Add metrics (e.g., Conversions, Total revenue, Event count).
- Apply filters (e.g., country = Bangladesh) to focus on local data.
- Save the report and add it to your navigation for quick access.
- Schedule email reports weekly to stakeholders.
Pro script / template: Example custom report: “Dhaka E-commerce Performance” with dimensions: Campaign, Product Category; Metrics: Purchases, Revenue, Average Order Value.
📊 Expected results: Custom reports reduce time spent on analysis by 40%. You’ll spot trends like which Dhaka neighborhood converts best.
🏆 Real Case Study: How a Dhaka-Based Online Grocery Store Increased Revenue by 45% with GA4
Before engaging Rafirit Station, “Bazaar Express” (a Dhaka-based online grocery) relied on basic page view counting from UA. They had no insight into which products were viewed or how many users completed payment via bKash. Their monthly revenue was stuck at ৳18 lakh.
Strategy we implemented:
- Migrated their e-commerce site from UA to GA4, ensuring all product SKUs and prices were passed in the data layer.
- Implemented custom events for bKash payment confirmations and WhatsApp chat clicks.
- Set up conversion tracking for “add_to_cart” and “purchase” events, linking to Google Ads for smart bidding.
- Created a custom dashboard showing daily revenue by source (organic, social, paid).
- Used GA4’s data-driven attribution to reallocate budget from generic display ads to high-performing Facebook ads.
Results after 3 months:
- Monthly revenue increased from ৳18 lakh to ৳26 lakh (45% growth).
- Conversion rate improved from 1.8% to 3.2%.
- Cost per acquisition dropped from ৳450 to ৳290.
- Bazaar Express now tracks 15+ events, including cart abandonment, allowing remarketing to users who didn’t checkout.
“Rafirit Station’s GA4 setup transformed our online business. For the first time, we know exactly which products are trending and which ads actually bring in paying customers. We recovered ৳3 lakh in wasted ad spend within the first month.” — Farhan Rahman, Founder, Bazaar Express
See more Rafirit Station case studies →
✅ GA4 Setup Checklist for Bangladesh Websites
| # | Task | Status |
|---|---|---|
| 1 | Audit existing UA setup and goals | ✅ |
| 2 | Define key events (purchase, add_to_cart, form_submit, etc.) | ✅ |
| 3 | Choose tag deployment method (GTM preferred) | ✅ |
| 4 | Create GA4 property with correct timezone and currency | ✅ |
| 5 | Set up web data stream and obtain measurement ID | ✅ |
| 6 | Install GA4 tag via GTM or direct gtag | ✅ |
| 7 | Enable enhanced measurement (scroll, outbound clicks, site search) | ✅ |
| 8 | Implement custom events (WhatsApp, bKash, form submissions) | ✅ |
| 9 | Set up e-commerce tracking with data layer | ✅ |
| 10 | Mark conversion events (purchase, add_to_cart) | ✅ |
| 11 | Verify data with Realtime and DebugView | ✅ |
| 12 | Add user permissions and internal traffic filter | ✅ |
| 13 | Link GA4 to Google Ads and Merchant Center | ✅ |
| 14 | Create custom reports/dashboard for key metrics | ✅ |
| 15 | Set up data retention to 14 months | ⚠️ |
❓ Frequently Asked Questions
🎯 The Bottom Line
Setting up GA4 for a Bangladesh-based website isn’t just about installing a tracking code; it’s about creating a data culture. The biggest mistake we see is treating analytics as a one-time task rather than an ongoing optimization tool. Here’s the counterintuitive takeaway: You should start with a minimal setup and add complexity over time. Trying to track everything from day one leads to data clutter and analysis paralysis.
Focus on the events that directly impact your revenue: purchases, add-to-carts, and key form submissions. Once those are stable, layer in secondary events like scroll depth and video views. Bangladesh’s digital landscape is still evolving; the businesses that invest in proper analytics today will have a 2–3 year head start over competitors.
Remember, GA4 is built for the future of privacy-first measurement. By using Google’s machine learning to fill data gaps, you can still get accurate attribution even as third-party cookies fade. Embrace the change now.
⚡ Your Next Step (Do This Today)
- Set up a 30-minute time block to audit your current analytics situation.
- Install Tag Assistant and verify if you have any GA4 tags already.
- Create your GA4 property (if not done) using the steps in Phase 2.
- Enable enhanced measurement to get immediate data.
- Book a free strategy call with Rafirit Station if you need expert guidance.
Ready to Get Results?
Transform your digital presence with data-driven strategies. Our analytics experts in Dhaka will set up GA4 for your Bangladesh website so you can start making smarter decisions.
💬 Drop “GA4 setup Bangladesh” in the comments and we’ll send you our free GA4 troubleshooting checklist — no email required.
💬 Leave a Comment
Your email will not be published. Fields marked * are required.