A step by step conversion tracking setup for Indian lead generation businesses: GA4 key events, Tag Manager, gclid and fbclid capture, Meta Conversions API, CRM stage import and the places data goes missing.

Search and explore the blog
Explore the blog
Category
Suggested reading
A conversion tracking setup records every action that matters to your business, such as a form fill, a call or a site visit, and ties it to the ad that caused it. For lead generation, build four layers: browser events in GA4, click IDs saved on each lead, server-side events to Meta and CRM stages sent back to Google Ads.
This guide is written for Indian lead generation businesses. It gives the setup order, a worked example with illustrative numbers, a checklist and the places where data usually disappears.
What is conversion tracking setup and which events should you track?
Conversion tracking setup is the work of defining which actions count as results, firing an event when each one happens, and keeping the campaign details that sent the visitor. Page views and scroll depth are useful context, but they are not results. A result is something that moves a person towards paying you.
Write your funnel in plain words first. A builder might use enquiry, call connected, site visit and booking. A clinic might use enquiry, appointment request and appointment kept. Each stage that you want an ad platform to find more of becomes an event. Keep the list short, because ten events with no clear priority confuse bidding.
Use Google's recommended event names where they exist. Google's recommended events list includes generate_lead, which it describes as a user submitting a form or a request for information, plus qualify_lead, working_lead and close_convert_lead for later stages. Using the standard names keeps your Lead acquisition report populated.
| Event | Where it fires | Sent to |
|---|---|---|
| Form submitted (generate_lead) | Form success callback, not a page you can revisit | GA4, Google Ads, Meta Pixel and Conversions API |
| Call tapped (click_to_call) | Tap on the phone number on mobile | GA4, Google Ads |
| WhatsApp tapped (click_to_whatsapp) | Tap on the chat button or link | GA4, Meta Pixel |
| Lead qualified (qualify_lead) | CRM status change, not the website | Google Ads import, Meta Conversions API |
| Site visit done (site_visit) | CRM status change | Google Ads import, Meta Conversions API |
| Booked (close_convert_lead) | CRM status change | Google Ads import, Meta Conversions API |
How do you set up GA4 key events with Google Tag Manager?
Google Tag Manager lets you add and change tags without editing your site code each time. Google describes it as a tag management system where you add two snippets to every page and then manage tags, triggers and variables in its web interface, as its Tag Manager overview explains. A tag is what you send, a trigger decides when it fires, and a variable holds a reusable value.
In GA4, an event you care about becomes a key event. Google defines a key event as an event that measures an action that is particularly important to the success of your business, in its key events help page. Marking an event as a key event is what makes it appear in the key event columns of your acquisition reports.
Follow this order on a typical lead generation site.
- 1
Install one container
Add the Tag Manager container to every page, including the thank-you state. Do not also paste a second copy of the GA4 tag in the theme, or events will count twice.
- 2
Create the GA4 configuration tag
Add your GA4 measurement ID once, firing on all pages.
- 3
Create a trigger for the real success
Use the form's success callback or a custom event pushed to the data layer. A thank-you page works only if people cannot reach it without submitting.
- 4
Add a GA4 event tag
Send generate_lead with parameters such as form_name and page_path, so reports show which form produced it.
- 5
Mark it as a key event in GA4
Turn on the key event setting only for actions that count. Tapping the WhatsApp button can be a key event too, but label it clearly as a tap.
- 6
Test in Preview and DebugView
Submit a real test lead on mobile data and confirm the event arrives once, with the right name and parameters.
How do you capture gclid and fbclid in your forms?
This is the step most conversion tracking setup guides skip, and it decides whether your CRM stages can ever reach the ad platforms. Google gives every ad click a unique ID called the GCLID, and its offline conversion import help page says to save it along with the lead information you collect. Meta passes a click ID in the fbclid URL parameter, which Meta's documentation says is case sensitive and must not be modified.
Visitors rarely submit a form on the page they land on. They browse three pages and then enquire, and by then the click ID is gone from the address bar. The fix is to read gclid and fbclid from the URL on the first page view, store them in a first-party cookie or local storage, and copy them into hidden form fields when a form loads.
Meta's fbp and fbc guide describes the fbc value as version.subdomainIndex.creationTime.fbclid, where the version is fb and the creation time is a Unix time in milliseconds. It recommends sending fbc with every Conversions API event and sending fbp too when available. If the Pixel is installed, it stores the click ID in the _fbc cookie for you, so read that cookie into the form as well.
Add these hidden fields to every form, and pass them to your CRM with the lead: gclid, fbclid, fbc, fbp, utm_source, utm_medium, utm_campaign, utm_content, landing page URL and the first visit time. A CRM that stores them on the lead record makes every later step possible.
How do you send CRM stages back to Google Ads?
A form fill is cheap to count and easy to inflate. Wrong numbers, fake enquiries and duplicates all look like conversions to an ad platform. The fix is to send the later stage, the one that costs your team time, back to Google Ads as an offline conversion.
Google says offline conversion import lets you measure outcomes that happen after an ad click, such as a contract signed in your office or a sale closed over the phone. You upload the GCLID with the conversion details, and Google Ads records it with your other conversion data. For advertisers new to this, Google recommends enhanced conversions for leads, which adds user-provided data such as a hashed email address to the GCLID based matching.
Google's help pages also state that from 15 June 2026, offline conversion imports and enhanced conversions for leads uploads moved to the Data Manager API and are blocked in the Google Ads API. If your CRM or a connector still uses the older method, check with its maker that it supports the new route.
Create one conversion action per stage, such as Qualified lead, Site visit and Booked. Upload each only when the CRM status changes, and give later stages a higher value so bidding learns that a booking is worth more than an enquiry. Keep the value an honest estimate and label it as one inside your own records.
How does Meta's Conversions API fit into a conversion tracking setup?
The Meta Pixel runs in the visitor's browser, so blockers, privacy settings and slow pages can stop an event reaching Meta. The Conversions API sends events from your server or CRM instead. Meta describes it as a way to connect website events, offline conversions and business messaging events from your server, website platform or CRM, and it says Pixel users can switch on the API for website events from Events Manager with no setup fee.
Running both creates a risk of counting a lead twice. Meta's deduplication guide says a Pixel event and a server event match when the Pixel eventID equals the server event_id and the event names match, and that duplicates arriving within 48 hours of the first event are discarded. Generate the ID once in the browser, send it with the Pixel event and pass it through the form to your server.
Our guide to the Meta Conversions API for a CRM shows how qualified leads and site visits go back to Meta from the CRM. For click-to-WhatsApp ads, Meta's business messaging guide says to store the ctwa_clid from the incoming message with the conversation and send it when a conversion happens, using LeadSubmitted, QualifiedLead or Purchase.
A worked example with illustrative numbers
The numbers below are made up for illustration and are not a client result. Imagine two Meta campaigns for the same project, each with Rs 40,000 of spend in a month. Counted by leads alone, Campaign A looks better. Counted by what your CRM records further down the funnel, Campaign B wins.
Campaign A costs Rs 500 per lead but only 8 of its 80 leads qualify, and 2 reach a site visit. Campaign B costs Rs 800 per lead, yet 15 of its 50 leads qualify and 6 reach a site visit. Judged on cost per site visit, A costs Rs 20,000 and B costs about Rs 6,667. Without CRM stages in the tracking, the account would have moved budget towards A.
| Measure | Campaign A | Campaign B |
|---|---|---|
| Spend | Rs 40,000 | Rs 40,000 |
| Leads | 80 | 50 |
| Cost per lead | Rs 500 | Rs 800 |
| Qualified leads | 8 | 15 |
| Cost per qualified lead | Rs 5,000 | Rs 2,667 |
| Site visits | 2 | 6 |
| Cost per site visit | Rs 20,000 | Rs 6,667 |
Where do businesses lose conversion data?
Most broken setups fail quietly. The campaign keeps spending and the dashboard keeps showing numbers, so nobody notices that they stopped matching reality. These are the usual leaks.
- Consent banners. Google's consent mode page lists ad_storage, analytics_storage, ad_user_data and ad_personalization, and says ad_user_data is required for measurement such as enhanced conversions and tag-based conversion tracking. If your banner never passes these signals, or tags fire before a choice is made, data is lost or collected wrongly.
- Safari Private Browsing. Apple's WebKit notes for Safari 17 list blocking known tracking query parameters in links in Private Browsing. A visitor on that mode may arrive without a click ID, so keep the lead even when gclid and fbclid are empty and match by hashed email or phone instead.
- WhatsApp taps. A tap on the chat button is not a conversation. Record it as a tap, then count a lead only when a message arrives. Use click-to-WhatsApp ads or tagged chat links so the first message carries its source.
- Call taps. A tap on a phone number is not a connected call. If calls matter, log the call result in the CRM and send that stage back, instead of trusting the tap.
- Revisitable thank-you pages. Anyone can reload or bookmark one, so use the form success callback or deduplicate by lead ID.
- Redirects and third-party forms. A redirect that drops the query string removes the click ID, and a form embedded from another domain can lose the cookies your page set. Test both with a real ad click.
Conversion tracking setup checklist
Use this conversion tracking setup list before you spend on a new campaign, and again after any website change.
- One Tag Manager container, no duplicate GA4 or Pixel tags in the theme.
- generate_lead fires once per real submission and is marked as a key event in GA4.
- Auto-tagging is on in Google Ads and the GA4 and Ads accounts are linked.
- gclid, fbclid, fbc, fbp and UTM values are saved on first visit and copied into hidden form fields.
- The CRM stores those values on the lead, plus the form name and landing page.
- The Pixel and the Conversions API send the same event name and event_id.
- Qualified, site visit and booked stages are sent back, with values that you can defend.
- The consent banner passes consent signals and tags respect them.
- A test lead from a phone on mobile data is traced through GA4 DebugView, Google Ads, Meta Events Manager and the CRM.
- A monthly check compares CRM leads, platform conversions and form submissions for the same week.
What should you do next?
Pick one campaign and fix its conversion tracking setup end to end before touching the others. Define the three events that matter, capture click IDs, send stages back and run the test lead. After two weeks of clean data, move the next campaign across. Platforms will never match your CRM exactly, because they attribute differently, so use the CRM as the reference and treat large gaps as a prompt to investigate.
If you want help with the build, Vistrow offers conversion tracking services as part of its digital marketing work, and you can contact the team to talk through your setup. Related reading: fake leads from Facebook ads shows why counting leads is not the same as counting buyers.
Frequently asked questions
What is conversion tracking setup?
It is the work of recording the actions that matter to your business, such as form fills, calls, WhatsApp chats and site visits, and linking each to the ad that caused it. A good setup combines browser events, saved click IDs, server-side events and CRM stages, so ad platforms can optimise for real customers instead of clicks.
Do I need Google Tag Manager for conversion tracking?
No, but it helps. Google Tag Manager lets you add and change tags, triggers and variables without editing your site code each time. You can send GA4 events directly from the site instead, but most lead generation sites change forms often, and a tag manager makes those changes safer to test and easier to hand over.
What are gclid and fbclid and why store them?
They are click IDs added to your landing page URL by Google Ads and Meta. Google uses the gclid to match an offline outcome back to the original click, and Meta builds its fbc value from the fbclid. Save both on the lead in hidden form fields, because the address bar is usually empty by the time someone submits.
Why do my GA4, Google Ads and CRM lead numbers not match?
Each system counts differently. Platforms attribute by their own rules, blocked tags and declined consent drop events, and the CRM counts leads you actually received. Small gaps are normal. Compare the three for one week at a time, treat the CRM as the reference and investigate gaps that keep growing.
Is the Meta Conversions API required if I have the Pixel?
It is not mandatory, but Meta offers it so events can be sent from your server or CRM when the browser cannot. If you run both, send the same event name and event_id from each so Meta can deduplicate within 48 hours. The API also lets you send later stages such as qualified leads.
Comments