---
title: "Conversion API and Meta Pixel Setup With GA4"
description: "Set up the Conversions API, Meta pixel and GA4 in one afternoon: choose three key events, add UTMs, track WhatsApp taps and test before spending."
canonical: https://kerbcode.com/blog/conversion-api
---

# Conversion API and Meta pixel setup, with GA4, step by step

Published 23 November 2026 · 8 min read · By Smaran Challapalli

> **Key takeaways**
>
> - You can set up good tracking in an afternoon if you do it in the right order and write down what you did.
> - Use the Meta pixel and the Conversions API together, with a shared event ID so Meta counts each event once.
> - Create GA4 and your ad accounts under a Google account the business owns, and mark no more than three key events.
> - Track WhatsApp taps and successful form submissions, and treat a tap as intent until a real conversation shows up in your inbox.
> - Test every event before you spend, and again after any site change, because redesigns and plugin updates quietly break tracking.

You can set up good tracking in an afternoon, including the Conversions API, GA4 and the Meta pixel. The trick is to do it in the right order and write down what you did. Here is the order I use. It follows [the first post in this series](https://kerbcode.com/blog/utm-parameters), which explains what each piece is, and more is collected under [tracking and measurement](https://kerbcode.com/blog/topic/tracking).

## An illustration to carry through

I will use a made-up example, an illustration and not a client. Imagine a CA firm that gets clients through Google Ads and a website with a contact form and a WhatsApp button. The firm wants to know which ads bring enquiries. We will set up tracking for that, step by step. For a store, the same steps apply with "purchase" in place of "enquiry".

## What do you need before you start?

You need four things in hand before you open any settings.

- A Google account that the business owns, not a personal one tied to an employee or agency.
- Admin access to the website, or to the person who edits it.
- Admin access to your Meta Business account and Google Ads account, if you run ads.
- Five minutes to decide your conversions.

For the CA firm the list is: a form submitted, and a WhatsApp tap. Perhaps a phone-number tap on mobile. Three events. Everything below sets up those three.

## Step 1: how do you do a Google Analytics 4 setup?

Create a Google Analytics 4 property under a Google account you own (not your agency's, not a freelancer's), add the data stream for your website and install the tag. Then decide your key events. GA4 records many events on its own (page views, scrolls, clicks on outbound links). You mark the ones that matter as key events. For a store, that is purchase, and perhaps add to cart. For a lead business, it is form submit and WhatsApp click.

Keep the list short. Three is plenty.

## Step 2: do you need Google Tag Manager?

Use Google Tag Manager for a custom or WordPress site, and the platform's own integration on Shopify. Google Tag Manager (GTM) is a free container that holds all your tracking codes in one place. You install it once on the site, and then add, change and test tags inside GTM without touching the site code again. For a lead business with a custom or WordPress site, I use GTM.

On Shopify, use the platform's own integrations for Google and Meta where they exist. They handle purchase events and are simpler to keep running than hand-built tags. Do not run two methods that both fire the same event, or every sale is counted twice.

## Step 3: how do you do a Meta pixel setup with the Conversions API?

If you run Meta ads, install the Meta pixel and also set up the Conversions API, so browser blockers affect only one of the two. The pixel runs in the browser. The Conversions API sends the same events from your server. Together they miss less.

Send each event with a shared event ID, so Meta can tell the browser copy and the server copy are the same event and count it once. Platforms such as Shopify offer this as a built-in setting. On a custom site, a developer sets it up. In either case, check Meta's Events Manager afterwards and look at the event quality and match information it shows. If you are also setting up your first campaign, [how to run Meta ads](https://kerbcode.com/blog/how-to-run-meta-ads) shows where this fits.

## Step 4: how do you set up Google Ads conversions?

Import your GA4 key events into Google Ads, or create conversion actions directly. Pick the one that reflects a real outcome (purchase, qualified enquiry) as your primary goal, and keep softer actions such as page views as secondary, so that bidding does not chase easy clicks.

Link Google Ads to GA4 and to Search Console in their settings. It takes a few minutes and makes the reports line up. The Google Ads side of this is covered in [how to run Google Ads](https://kerbcode.com/blog/how-to-run-google-ads).

## Step 5: what UTM discipline should you follow?

Tag every link you control that points to your site with a simple, fixed pattern: ads, email, WhatsApp broadcasts, Instagram bio, QR codes.

- **utm_source:** where it was (instagram, google, whatsapp)
- **utm_medium:** the type (cpc, paid_social, email, broadcast)
- **utm_campaign:** the campaign name (diwali_2026)

Use lowercase only and one spelling for each name. "Instagram" and "instagram" show up as two sources. Keep a small sheet that records the pattern, and let everyone who posts links use it.

One caution: do not put UTM parameters on links between pages of your own site. It breaks the original source.

## Step 6: how do you track WhatsApp clicks and form submissions?

Track a WhatsApp click and a successful form submission, because for lead businesses the enquiry is the sale you can see.

- **WhatsApp click:** fire an event when someone taps your WhatsApp button. In GTM this is a click trigger on links that start with wa.me.
- **Form submission:** fire an event on the thank-you state, or on the successful submit, not on the button press. Otherwise a failed form still counts.

A WhatsApp tap is not a confirmed conversation, since some people tap and then do not send. Treat it as intent, and count real conversations in your inbox or CRM. This is how [Solutions.Tax](https://kerbcode.com/work/solutions-tax) runs it: WhatsApp taps and form submissions are tracked as results for their ads.

## Step 7: how do you test that events fire?

Do not trust a setup you have not tested.

1. Open GTM's preview mode and click through your own site. Check each tag fires once.
2. In GA4, open the Realtime or DebugView report and watch your events arrive.
3. In Meta Events Manager, use the test events tool and confirm the pixel and the Conversions API both report.
4. Submit a real test form and place a test order. Delete test data after, or filter it out.
5. Repeat the check after any site change. Redesigns and plugin updates quietly break tracking.

## Step 8: what goes in a one-page tracking record?

Write one page and keep it somewhere the team can find. It should list:

- Which accounts and properties exist, and who owns each.
- Your key events and where each is set up.
- The UTM pattern.
- The date you last tested everything.
- Who to ask when a number looks wrong.

When someone new joins, or an agency changes, this page saves weeks.

## What does the full flow look like once it is set up?

For the CA firm, once it is all set up:

1. A prospect searches on Google, clicks an ad, and lands on the site.
2. GA4 records the visit. The Google Ads tag records the click.
3. She taps WhatsApp. GTM fires a whatsapp_click event, sent to GA4 and imported as a conversion into Google Ads.
4. Later she fills the form. A form_submit event fires on success and goes the same way. If the firm also runs Meta ads, the Meta pixel and the Conversions API both receive it.
5. The weekly check: open GA4, filter to the key events, and see which campaign brought them. Compare with the enquiries actually in the inbox.

If the GA4 count and the inbox count are close, tracking is healthy. If GA4 shows ten and the inbox shows twenty, something is not being captured. That gap is the first thing to investigate.

## What are the common tracking mistakes and how does each show up?

| Mistake | How it shows up |
|---|---|
| The same event fires twice | Conversions are double what the inbox shows |
| Event fires on button click, not on success | A broken form still records conversions |
| Pixel installed, Conversions API not | Meta reports fewer results than you see in the inbox |
| UTM tags in mixed case | The same campaign shows as several rows |
| UTM tags on internal links | Sources flip to your own site |
| Test orders left in the data | Inflated numbers, and nobody remembers why |
| Tracking installed under a freelancer's account | You lose it when they leave |
| No record of what is installed | Nobody can debug it a year later |

## What does it look like when it is going well?

Your weekly check takes ten minutes. Sources look sensible, "direct" is not the biggest bucket, and your tracked enquiries sit close to your real ones. After a site change, you run the tests and it still works.

When it is going badly, the numbers jump for no reason, a campaign shows suspicious results, or someone says "I think the tracking broke last month" and nobody can say when.

## Do it yourself, or hand it over

**If you want to do it yourself**

- Create GA4 and Search Console under your own Google account.
- Choose up to three key events and mark them.
- Install GTM, or use your platform's integrations, but not both for the same event.
- Add the Meta pixel and the Conversions API if you run Meta ads.
- Agree a UTM pattern and use it on every shared link.
- Test every event, then write the one-page record.

**If you would rather hand it over**

We set up and test this tracking as part of our marketing work, in accounts that you own, and hand you the one-page record at the end. See [how we do marketing](https://kerbcode.com/services/marketing), and [SEO and AI search](https://kerbcode.com/services/search) for the search side.

[Message me on WhatsApp](https://wa.me/918099066799?text=Hi%20KerbCode%2C%20I%20read%20%22Conversion%20API%20and%20Meta%20pixel%20setup%2C%20with%20GA4%2C%20step%20by%20step%22%20and%20want%20to%20talk%20%28from%3A%20Blog%29)

## Questions

### Do I need Google Tag Manager?

On a custom or WordPress site, I use it, because it lets you add and test tags without touching the site code. On Shopify, use the platform's own integrations, and do not run two methods that fire the same event.

### How long until I see data?

Events usually show in GA4 Realtime and Meta's test events tool within minutes. Meaningful reports need a few weeks of traffic.

### Do I need a developer for the Conversions API?

Platforms such as Shopify offer it as a built-in setting. On a custom site a developer usually sets it up, including the shared event ID.

### What if I get it wrong?

The usual signs are conversions double what your inbox shows, or Meta reporting far fewer than you see. Run the test steps, fix the duplicate or missing event, and delete test data.

Topic: [Tracking and attribution](https://kerbcode.com/blog/topic/tracking)

## Tracking and attribution series

- 101: [UTM parameters and tracking: where did your customer come from?](https://kerbcode.com/blog/utm-parameters)
- Basics: Conversion API and Meta pixel setup, with GA4, step by step (this post)

## More in Tracking and attribution

- [Five numbers a founder should look at every week](https://kerbcode.com/blog/five-weekly-marketing-numbers)
