Back to blog
Platform Guides

Setting Up GA4 for Accurate Conversion Tracking

GA4 is your ground truth for conversion numbers. But only if it is set up correctly. Here is a step-by-step guide to setting up GA4 so your numbers are accurate.

Nandakumar V Nadar2 July 20269 min read

GA4 is the most reliable source for conversion numbers. Google Ads overclaims. Meta Ads inflates. GA4 just records what happened on your website.

But GA4 is only accurate if it is set up correctly. A broken GA4 setup gives you wrong numbers — and wrong numbers are worse than no numbers.

Here is how to set up GA4 for accurate conversion tracking, step by step. For a deeper comparison of platform numbers, see [why Google Ads and GA4 show different numbers](/blog/why-google-ads-and-ga4-show-different-numbers).

Step 1: Install The GA4 Tag Correctly

Everything starts with the GA4 tag (also called the Google tag). If the tag is not installed correctly, nothing else matters.

Using Google Tag Manager (recommended):

  1. Create a Google Tag Manager account at tagmanager.google.com
  2. Create a container for your client's website
  3. Add a "Google Analytics: GA4 Configuration" tag
  4. Enter the GA4 Measurement ID (format: G-XXXXXXXXXX)
  5. Set the trigger to "All Pages"
  6. Publish the container

Using the direct GA4 tag (without GTM):

  1. Go to GA4 Admin > Data Streams > Web
  2. Copy the global site tag (gtag.js) code
  3. Paste it in the head section of every page on the website

How to verify it is working

Install the Google Tag Assistant Chrome extension. Visit the website. You should see the GA4 tag fire on every page. Also check GA4 Admin > Data Streams > Web > "Realtime" report. Visit the website in another tab. You should see your visit appear within 30 seconds.

Step 2: Configure Your Conversion Events

GA4 tracks everything as events. A page view is an event. A button click is an event. A purchase is an event. You need to tell GA4 which events are conversions.

Default events GA4 tracks automatically:

Event NameWhat It Tracks
page_viewEvery page load
scrollUser scrolls 90% of the page
clickOutbound link clicks
file_downloadPDF and file downloads
session_startNew session begins

Common conversion events for Indian businesses

E-commerce: purchase, add_to_cart, begin_checkout

Lead generation: form_submit, generate_lead, sign_up

Content businesses: newsletter_signup, download_brochure

How to create a conversion event

  1. Go to GA4 Admin > Events
  2. Click "Create Event"
  3. Give it a name (use snake_case: form_submit, not "Form Submit")
  4. Set the matching conditions — what action triggers this event
  5. Save the event
  6. Go to GA4 Admin > Conversions
  7. Click "New Conversion Event"
  8. Enter the exact event name
  9. Save

The event name in the Events list and the Conversions list must match exactly. GA4 is case-sensitive.

Step 3: Set Up Enhanced Measurement

GA4 has a feature called Enhanced Measurement that automatically tracks common interactions without you writing any code.

Go to GA4 Admin > Data Streams > Web > Enhanced Measurement. Make sure these are enabled:

SettingWhat It Tracks
Page viewsEvery page load (keep this on)
ScrollsUser scrolls 90% of page
Outbound clicksClicks on links leaving the site
Site searchSearches within the website
Form interactionsForm starts and submissions
File downloadsPDF, DOC, and other file downloads
Video engagementYouTube video plays, pauses, completions

Form interactions is especially important for lead generation websites. It automatically tracks when someone starts filling a form and when they submit it.

Step 4: Set Up Cross-Domain Tracking

This is the mistake that breaks GA4 accuracy for most Indian agencies.

Your client's website is on domain-a.com. But the purchase happens on a payment gateway (Razorpay, PayU, Cashfree) or a third-party booking system. Without cross-domain tracking, GA4 sees two separate sessions instead of one.

The result: GA4 counts the conversion but cannot attribute it to the original traffic source. Your conversions show as "Direct" traffic instead of "Google Ads" or "Meta Ads."

How to set up cross-domain tracking

  1. Go to GA4 Admin > Data Streams > Web > Configure your domains
  2. Add all domains involved in the conversion process:
  3. - Your client's main website (example.com)
  4. - Payment gateway (checkout.razorpay.com or similar)
  5. - Any third-party form or booking system
  6. Save

How to check if cross-domain tracking is working

Start a session on the main website. Click through to the payment gateway. Complete a test transaction. Check the GA4 Realtime report — you should see one continuous session, not two separate ones.

Step 5: Set Up E-Commerce Tracking (For Online Stores)

If your client runs an online store, you need enhanced e-commerce tracking in GA4.

GA4 uses specific event names for e-commerce:

Event NameAction
view_itemUser viewed a product page
add_to_cartUser added item to cart
begin_checkoutUser started checkout
add_payment_infoUser entered payment details
purchaseUser completed purchase

For Shopify stores, most of this is automatic through the Google & YouTube channel app. For WooCommerce (WordPress), you need a plugin or set it up through Google Tag Manager.

Step 6: Debug and Validate

After setting everything up, you must validate that GA4 is tracking accurately.

Use GA4 DebugView

  1. Install the Google Analytics Debugger Chrome extension
  2. Turn it on
  3. Visit the website and complete conversion actions
  4. Go to GA4 Admin > DebugView
  5. Check that every event appears correctly with the right parameters

Compare with Google Ads numbers

After running ads for one week, compare Google Ads conversion count with GA4 conversion count. If GA4 shows zero conversions but Google Ads shows 50, your GA4 conversion events are not set up correctly. If GA4 shows 48 and Google Ads shows 52, your setup is working — the 8% difference is normal attribution gap.

Common GA4 Setup Mistakes

1. Conversion event not marked

You created the event but forgot to mark it as a conversion. Always check GA4 Admin > Conversions to make sure the event appears there.

2. Duplicate tags

The GA4 tag fires twice on the same page — once from GTM and once from the direct code. This doubles every number. Use Tag Assistant to check for duplicate tags.

3. Wrong event name spelling

"form_submit" and "form_Submit" are different events. GA4 is case-sensitive. Always use lowercase with underscores.

4. Cross-domain tracking not set up

Conversions happen on a payment gateway but GA4 cannot connect the session. Set up cross-domain tracking (see Step 4).

5. Cookie consent not handled

If the website has a cookie consent banner and GA4 fires before the user accepts, the data may not be collected. Make sure GA4 only fires after consent is given, or handle it through Google Consent Mode.

Frequently Asked Questions

How do I check if GA4 is tracking conversions correctly?

Go to GA4 Admin > DebugView. Install the Google Analytics Debugger Chrome extension, turn it on, and complete a conversion action on the website. DebugView will show the event in real time. Also compare GA4 conversion counts with Google Ads counts after one week of running ads — a 10-15% difference is normal.

What is the difference between GA4 events and GA4 conversions?

All conversions are events, but not all events are conversions. Events track every user action (page views, clicks, scrolls). Conversions are the specific events you mark as important (purchases, form submissions, sign-ups). Go to GA4 Admin > Conversions to mark which events should be counted as conversions.

How do I set up cross-domain tracking in GA4?

Go to GA4 Admin > Data Streams > Web > Configure your domains. Add all domains involved in the conversion process — your client's main website, payment gateway (like Razorpay or Cashfree), and any third-party booking or form system.

Why does GA4 show fewer conversions than Google Ads?

GA4 counts actual website events without attribution. Google Ads counts conversions it can claim credit for through its attribution model (30-day click window, view-through conversions). A 10-15% difference where Google Ads is higher is normal.

Track Your Numbers Accurately

GA4 is your ground truth for conversion numbers. But it only works if the setup is correct.

ADsHisaab pulls data from Google Ads, Meta Ads, and GA4, calculates discrepancy percentages automatically, and shows all three platforms side by side in branded PDF reports. If your GA4 numbers look off, ADsHisaab helps you spot the gap immediately.

Start your free trial at adshisaab.com

ADsHisaab automates ad reporting for Indian agencies. Reconcile Google Ads, Meta Ads, and GA4 numbers automatically.

Try ADsHisaab free