Zonder.Digital Book a call
Blog

How to Set Up and Fix Conversion Tracking for Google Ads and Meta (Facebook and Instagram)

To set up conversion tracking for Google Ads, create a conversion action for each result you care about, put the Google tag on every page, and fire an event snippet on the confirmation page with the order value, currency and a unique transaction ID. Then turn on enhanced conversions and consent mode. For Meta, install the Meta Pixel, send the same purchase and lead events from your server through the Conversions API, and give each pair a matching event_id so Meta counts the sale once. To fix existing tracking, look for conversions counted twice, purchases with no value or the wrong currency, and tags that fire on the wrong page. Test every change in Google Tag Assistant and Meta's Test Events tool.

Set up Google Ads conversion tracking

Create conversion actions and mark them primary or secondary

A conversion action is a specific customer activity that is valuable to your business, such as a purchase, a sign-up or a phone call. Create one for each result you want to measure. Primary actions can be used for bidding and reporting. Secondary actions are left out of the Conversions column that bidding uses and appear only under All conversions. A wrong setting can stop Smart Bidding from optimizing effectively.

On each action, set Count to "Every conversion" for sales, or to "One conversion" for leads, which counts one conversion per ad click. You can build conversion actions from the Google tag, from Google Analytics key events, or both. The Google tag is the recommended source if you don't use Google Analytics or want enhanced conversions.

Install the Google tag and the event snippet

The Google tag goes on every page of your site. The event snippet tells the Google tag when to record a conversion, and it belongs on the conversion page itself, such as the order confirmation page. For a purchase, have your site fill in three fields at the moment of the sale:

  • value: the order value, as a number with a period as the decimal point
  • currency: an ISO 4217 code, such as USD
  • transaction_id: a unique order number of up to 64 characters, containing nothing that could identify the customer

If you use Google Tag Manager, push the transaction ID to the data layer, the most reliable way to pass it to the tag. Add a Conversion Linker tag on any page where people may land after an ad click, unless your container already loads a Google tag on every page.

Enhanced conversions hashes first-party data from the conversion, such as an email address, with SHA256 and sends it to Google, which matches it to signed-in Google accounts that engaged with your ads. As of April 2026, enhanced conversions for web and for leads have been combined into a single setting.

Consent mode passes each visitor's cookie choice from your consent banner to Google's tags. It does not provide the banner itself.

Basic consent modeAdvanced consent mode
Tag loadingBlocked until the visitor interacts with the bannerLoads, with defaults set to denied unless configured otherwise
If consent is deniedNo data is sent, not even the consent statusConsent state and cookieless pings are sent
Conversion modelingGeneral modelAdvertiser-specific model

In Tag Manager, the ad_user_data consent type is required for enhanced conversions and tag-based conversion tracking, so check that your consent setup sets it.

Import sales that close offline

If a lead turns into a sale later, over the phone or with a signed contract, save the Google click ID (GCLID) with the lead and upload it with the sale; our car dealer guide covers storing it in a CRM and uploading the outcome.

Set up the Meta Pixel and the Conversions API

Install the pixel and standard events

The Meta Pixel is JavaScript that lets you track visitor activity on your website, and the conversions it records appear in Ads Manager. Purchase, one of Meta's standard events, fires when a person lands on the thank-you or confirmation page, and value and currency are required for it.

The default value and currency in the standard event code are 0.00 and USD. Replace both with each order's real value, written with a decimal point and no currency symbols or commas, and its 3-letter currency code.

Send the same events from your server

The Conversions API sends events from your server, website platform, app or CRM to Meta. Pixel data can be blocked or lost because of browser settings or connection problems; server events are less affected by browser limitations and ad blockers. Meta recommends using both, which it calls a redundant setup. If you already have a pixel, you can set up the Conversions API for website events in one click from Events Manager, with no code.

Set action_source on each server event to say where the conversion happened, and for website events include the page URL in event_source_url. If any event_time in a request is more than 7 days old, Meta returns an error and processes none of the events in that request.

Deduplicate with event_id

With a redundant setup, you must set up deduplication. Give the browser and server versions of an event the same event name and the same ID: eventID in the pixel, which is the fourth argument in the fbq track call, and event_id in the Conversions API. Use the order number for a purchase. For events without one, send the same random number from the browser and the server.

Events are only deduplicated if they arrive within 48 hours of the first event with that event_id. Meta's deduplication documentation shows the pixel code for sending eventID with track, trackSingle or an image pixel tag. Many platforms, such as Shopify and WooCommerce, handle the deduplication parameters for you.

Check Event Match Quality

Event Match Quality is a score from 0 to 10 for website events sent through the Conversions API with the action source set to Website. Meta calculates it from the customer information sent with each event and the share of events matched to Meta accounts. The score is calculated from the last 48 hours of data. Email and click ID are the high-priority parameters; Meta's page on Event Match Quality lists the priority of each of the others.

Hash contact information before you send it. For email, trim the spaces, convert to lowercase and hash with SHA256, or let the Meta Business SDK do the hashing. Events Manager shows recommended actions to improve your event matching.

Common breakages and how to fix them

What you seeLikely causeFix
Two Google Ads conversions for one orderThe tag fired again on a reload of the confirmation pageSend a unique transaction_id with every purchase
One purchase counted twice for biddingA Google Ads tag action and an imported Google Analytics key event both set as primaryKeep one primary and set the other to secondary
More Meta purchases than ordersPixel and Conversions API both send Purchase without a matching event_idSend the same event name and event_id from both
Purchases with a flat value, or 0.00 on MetaNo dynamic value, so the default value is usedPass each order's value in the tag or event
Revenue in the wrong currencyA fixed currency code left from example codePass each order's ISO 4217 currency code
Conversions on pages that aren't salesEvent snippet, URL rule or Tag Manager trigger on the wrong pageFire the conversion only on the confirmation page

Double counting

On Google, the tag can fire again when a customer reloads the confirmation page. With a transaction ID, Google Ads treats a second conversion with the same ID as a duplicate and doesn't count it. Don't hardcode or reuse the ID. Google Ads may only process the first conversion with each ID, so a repeated ID causes significant undercounting. Google's transaction ID guide shows how to pass the ID through the event snippet or the Tag Manager data layer.

Don't add the Google tag again for a new conversion action in the same account, and if the site has both gtag.js and Google Tag Manager, consider moving to Tag Manager alone. On Meta, look for missing or mismatched event_id values.

Missing purchase value or the wrong currency

In Google Ads, choose "Use different values for each conversion" and pass the value and currency in the event snippet when the page loads. Without that code, Google Ads records the default value for every conversion. Automated bid strategies, including Target ROAS and Maximize conversion value, use these values to set bids. Google and Meta both use ISO 4217 currency codes, so pass each order's currency rather than a fixed USD.

Tags firing on the wrong page

Put the Google event snippet only on the page a customer sees after converting. For a URL-based conversion, check the exact URL in the conversion action settings, and in Tag Manager check that the trigger matches the specific page view or event. On Meta, fire Purchase only on the thank-you or confirmation page.

How to test before and after every change

Google: Tag Assistant and Tag Manager preview

Click Preview in Tag Manager. Your site opens as if the draft container were published, connected to Tag Assistant, where you can see which tags fired, in what order and with what data.

  • Make a test purchase and confirm the conversion includes the transaction ID, value and currency.
  • Visit pages that aren't conversion pages and confirm the conversion tag doesn't fire.
  • Turn off ad blockers on the test browser, since they can stop the Google tag. Consent management tools can block Google tags too.

A new conversion action shows "Unverified" or "Inactive" until Google Ads records its first conversion or a successful test event. After a fix, the status may not update for up to 48 hours.

Meta: Test Events in Events Manager

In Events Manager, click Data sources, select your dataset and click Test events. Enter your website URL, click Open website and complete a purchase or lead form. Website activity is recorded only while the Test events page is open, and the tool shows which events were processed and which were deduplicated.

For server events, send the test ID from that page as the test_event_code parameter, and remove it before you send production events. Events sent with a test code are not dropped; they flow into Events Manager and are used for targeting and measurement.

Who can set up and fix conversion tracking

Your web developer or store platform

Depending on your setup, you or your web developer may need to edit the conversion tracking tag. A direct Conversions API integration connects your server to Meta's Conversions API endpoint. If you don't use a partner integration, you have to add the deduplication parameters in your own code. You may also be able to book a call with a Meta Technical Pro for step-by-step help verifying events and setting up deduplication.

An agency that audits tracking first

Our paid ads service includes conversion tracking audits and dashboards that rebuild every morning. An account audit covers structure, tracking, search terms, bidding and wasted spend. You get a written list of fixes. Through our website service, we track every form, call and purchase back to its source. For one healthcare company, leads tripled while cost per lead held steady, with dashboards covering the full funnel; see our results.

Our guide to choosing a PPC agency lists questions to ask any agency, and our dashboard guide explains why Google Ads and Meta totals won't match: each gives credit for a sale under its own rules.

Frequently Asked Questions

Do I need both the Meta Pixel and the Conversions API?

Meta recommends using both, which it calls a redundant setup. Pixel data can be blocked or lost because of browser settings or connection problems, and the Conversions API sends events from your server, so browser limitations and ad blockers affect them less. If you send the same event from both, give each pair the same event name and event_id so Meta counts it once. With a pixel installed, you can set up the Conversions API for website events from Events Manager with no code.

Why does Google Ads show more conversions than I had orders?

If a customer reloads or returns to the confirmation page, the tag can fire again; with a unique transaction ID on each purchase, Google Ads doesn't count the duplicate. The same purchase may also be tracked by a Google Ads tag and an imported Google Analytics key event, both set as primary for bidding. If the site loads both gtag.js and Google Tag Manager, check them for conflicts and consider keeping Tag Manager alone.

How do I improve Event Match Quality on Meta?

Send more customer information with each server event, starting with email and click ID, the two high-priority parameters. Hash contact information such as email with SHA256 after trimming spaces and converting to lowercase, or let the Meta Business SDK do it. The score goes from 0 to 10 for website events sent through the Conversions API and is calculated from the last 48 hours of data, so send events regularly. Events Manager lists recommended actions.

How long until new conversion tracking shows data?

On Google, a new conversion action shows "Unverified" or "Inactive" until Google Ads records a first conversion or a successful test event, and the status may not update for up to 48 hours after a fix. After you link Google Analytics, it can be 24 to 48 hours before the import options appear in Google Ads. On Meta, you should be able to verify server events within 20 minutes, and new event data may not appear in analytics for 30 minutes or more.

Can Zonder audit and fix our conversion tracking?

Yes. Our paid ads service includes conversion tracking audits and dashboards that rebuild every morning, and our Meta ads are built on clean pixel and Conversions API tracking. An account audit covers structure, tracking, search terms, bidding and wasted spend, and you get a written list of fixes. Through our website service, we track every form, call and purchase back to its source.

Read more about our paid ads service, or book a call to get your tracking checked.

Book a call

Tell us what you want to grow.

Elijah will get back to you within 24 hours.

or skip the form and book a time

Pick a time
For your AI audit (optional)