GA4 Setup Guide: Configure Google Analytics 4 the Right Way
Anu Raina6 min read
- GA4
- Google Analytics
- Tracking
- Analytics

Table of contents
A proper GA4 setup is the difference between analytics you trust and analytics you ignore. Many businesses paste the Google Analytics tag on their website and stop there. The result: missing conversions, inflated traffic from spam or internal visits, short data retention and reports that can't answer simple questions like "Which channel brings our best leads?"
This guide covers the configuration steps that matter most, in order.
Step 1: Create the property and data stream
- In Google Analytics, create a GA4 property with your business name, time zone (India Standard Time for most Indian businesses) and currency (INR).
- Add a web data stream for your website domain.
- Note the Measurement ID (starts with G-).
If you also have an app, add Android and iOS streams to the same property so web and app data can be compared.
Step 2: Install the tag (preferably via GTM)
Install GA4 using Google Tag Manager rather than hard-coding it. GTM makes it easy to add events, manage consent and keep tracking tidy. Create a Google tag with your Measurement ID firing on all pages. Our Google Tag Manager guide explains the setup.
Check installation with GA4's DebugView and GTM Preview mode.
Step 3: Adjust key admin settings
These are easy to miss and important:
- Data retention: change from the default 2 months to 14 months (Admin → Data collection and modification → Data retention). This affects exploration reports.
- Internal traffic: define your office IP addresses as internal traffic and activate the filter, so staff visits don't distort data.
- Unwanted referrals: add payment gateways (like Razorpay or PayU checkout domains) so returning buyers aren't credited to the gateway as a referral.
- Cross-domain measurement: if users move between domains (for example, your site and a separate booking platform), configure cross-domain tracking.
- Google signals: enable if appropriate for demographic reporting and cross-device insights, respecting your privacy policy.
Step 4: Use enhanced measurement wisely
Enhanced measurement automatically tracks page views, scrolls, outbound clicks, site search, video engagement, file downloads and form interactions. Turn on what's useful, but be careful: automatic form tracking can fire on form starts or failed submissions. For important conversions, use custom events you control.
Step 5: Track the events that matter to the business
Define events for meaningful actions:
| Business action | Recommended event |
|---|---|
| Lead form submitted successfully | `generate_lead` |
| Phone number clicked | `click_to_call` (custom) |
| WhatsApp button clicked | `whatsapp_click` (custom) |
| Booking completed | `book_appointment` (custom) |
| Purchase completed | `purchase` (with value, currency, transaction ID, items) |
| Newsletter sign-up | `sign_up` |
Use Google's recommended event names where they exist, since they unlock better reporting. Pass useful parameters such as form name, service selected or lead value.
Step 6: Mark key events
In GA4, mark your most important events as key events (previously called conversions). Keep this list short: real leads, bookings and purchases. Micro-actions like scrolls or button clicks shouldn't be key events.
If you run Google Ads, link GA4 to Google Ads and decide carefully whether to import GA4 key events or use the native Google Ads tag. See Google Ads conversion tracking.
Step 7: Set up e-commerce tracking (if you sell online)
Implement the full e-commerce event sequence: `view_item_list`, `view_item`, `add_to_cart`, `begin_checkout`, `add_shipping_info`, `add_payment_info` and `purchase`. Shopify and WooCommerce have integrations, but always verify revenue in GA4 against your store's real orders.
Step 8: Implement consent mode
If you have visitors from regions requiring consent (such as the EEA or UK), or want privacy-first tracking, implement a consent banner with Consent Mode v2. GA4 adjusts collection based on user choices and can model missing data. See Consent Mode v2 explained.
Step 9: Link other Google products
- Google Search Console – organic search queries alongside GA4 behaviour.
- Google Ads – audiences and conversion data.
- BigQuery (optional) – raw event export for advanced analysis.
- Merchant Center for e-commerce.
Step 10: Build reports people will use
GA4's default reports are flexible but not always intuitive. Create:
- a traffic acquisition view by session source/medium and campaign
- a lead or sales report by channel, landing page and device
- funnel explorations for key journeys (landing page to form to thank-you)
- a simple Looker Studio dashboard for management. See marketing dashboard KPIs.
Use UTM parameters consistently
GA4 can only attribute campaigns correctly if links are tagged. Use consistent UTM parameters on email, WhatsApp, social and offline QR code links (`utm_source`, `utm_medium`, `utm_campaign`). Keep a shared naming convention so "facebook", "Facebook" and "fb" don't split your data.
Common GA4 setup mistakes
- Leaving data retention at two months.
- Counting form-start or button-click events as conversions.
- Not filtering internal traffic.
- Payment gateways showing as referral sources.
- Duplicate tags (hard-coded plus GTM) inflating page views.
- No UTM tagging, so campaigns appear as "direct" or "referral".
- Never comparing GA4 numbers with CRM or store data.
A 15-minute monthly GA4 health check
- Compare GA4 key events with leads in your CRM or orders in your store for the same period.
- Check the traffic acquisition report for spikes in "unassigned" or "direct" traffic, which usually signal tagging problems.
- Look for new referral sources that are really payment gateways or your own domains.
- Confirm DebugView still shows key events firing after recent website changes.
- Review whether new campaigns are using the UTM naming convention.
Catching tracking problems within a month is far cheaper than discovering a quarter of bad data during annual planning.
Who should own GA4
Give one person clear ownership of the property: admin access, naming conventions, event definitions and the monthly check. Shared ownership usually means no ownership.
FAQs
Is GA4 free?
Yes, standard GA4 is free. Google Analytics 360 is a paid enterprise version with higher limits and service levels.
Why don't GA4 numbers match my CRM or Shopify?
Consent choices, ad blockers, attribution differences and tracking errors all cause gaps. Small differences are normal; big gaps mean a setup problem.
How long does GA4 setup take?
A basic, well-configured setup takes a few hours to a couple of days. Full e-commerce and custom event tracking can take longer.
Should I use GTM or the direct GA4 tag?
GTM is recommended for most businesses because it makes event tracking, consent and future changes much easier.
The bottom line
A good GA4 setup goes beyond installing the tag: extend retention, filter internal traffic, track real business events, mark only meaningful key events, respect consent and build reports people use.
Want GA4 configured properly? Our GA4 and GTM setup service handles implementation and testing, and our marketing dashboards turn the data into decisions. Request a tracking audit.
Related articles

Strategy & Data · May 17, 2026
Google Tag Manager Guide: Tags, Triggers and Variables Explained
Google Tag Manager lets marketers add and manage tracking without editing website code every time. This guide explains how it works, the core building blocks and setups every business needs.

Strategy & Data · Aug 24, 2026
UTM Parameters Guide: Track Every Campaign Properly
Without consistent UTM tags, campaigns blur together as "direct" or "referral" traffic in analytics. Here is how UTM parameters work, a naming convention your team can follow, and examples for every channel.

Strategy & Data · Jul 19, 2026
Marketing Attribution Models Explained: Which Channel Really Drove the Sale?
Google says Google drove the sale, Meta says Meta did, and your CRM says it was a referral. Here is how attribution models work, why they disagree, and how to make sensible budget decisions anyway.

