How to improve Event Match Quality on WooCommerce

Event Match Quality (EMQ) is the 0–10 score Meta gives your Conversions API events. It shows how well Meta can match each event to a real person on Facebook or Instagram. A low score means fewer purchases attributed to your ads, and weaker optimisation. This guide covers which data raises the score on a WooCommerce store, where to get each field, and the mistakes that keep it low.

Where to find your score

Open Events Manager › your Pixel › Overview, click the Purchase event and open the Event Match Quality section. The score is shown per event and per source. Server events are what you can improve most, because your server knows who placed the order.

The fields that matter, and where WooCommerce has them

Meta fieldWhere it comes from on WooCommerceImpact
Email (em)Billing email on the orderHigh
Phone (ph)Billing phone, with country codeHigh
Click ID (fbc)_fbc cookie, or the fbclid in the landing URLHigh for ad clicks
Browser ID (fbp)_fbp cookie set by the PixelMedium
IP address and user agentThe buyer's checkout request, not your serverMedium
First and last name, city, state, postcode, countryBilling addressMedium
external_idCustomer ID or a stable hash of itMedium

How the data must be formatted

  • Hash before sending. Email, phone, names, city, state, postcode, country and external ID are sent as SHA-256 hashes. Never send them in plain text. Don't hash fbp, fbc, IP address or user agent.
  • Normalise before hashing. Lowercase and trim the email. Strip spaces, dashes and the leading zero from phone numbers and add the country code (447700900123, not 07700 900123). Lowercase names and cities. Use the two-letter country code. A hash of badly formatted data matches nothing.
  • Keep the original click ID. fbc has the form fb.1.<timestamp>.<fbclid>. Don't change the case of the fbclid part.

Mistakes that keep EMQ low on WooCommerce

Reading the cookies too late

The server can't read the buyer's cookies after the fact. If the Purchase is sent from a webhook or a background job, _fbp, _fbc, the IP address and the user agent are gone, unless you saved them on the order at checkout. Save them as order meta when the order is created, then send them with the server event.

Sending your server's IP address

A server event sent from a cron job or a payment webhook comes from your server or the payment provider. If the code uses $_SERVER['REMOTE_ADDR'] at that moment, Meta receives the wrong IP. Use the IP saved at checkout. Behind Cloudflare, read the visitor IP from the CF-Connecting-IP header.

Losing the click ID on PayPal and Klarna

When the buyer lands from an ad, the fbclid is in the URL. If the Pixel is blocked, _fbc is never set. Capture the fbclid from the landing URL into a first-party cookie yourself, so it is still there at checkout.

Missing data on guest checkouts

Guest orders still have a billing email, phone and address, so the server event can be as strong as a logged-in one. Make sure your setup doesn't only send customer data for registered users.

If your store waits for cookie consent, visitors who decline won't have fbp or fbc, and you may choose not to send their events at all. That's a legal choice for your store, not a tracking bug. Your EMQ is then based on the visitors who consented.

How to check the fix

  1. Place a test order using an email and phone you can recognise.
  2. In Test events, open the server Purchase and look at Customer information parameters. Every field above that you have should be listed.
  3. Check the score again after 48 hours of real orders. EMQ is calculated from recent traffic, so it moves slowly.

Strong match data, out of the box

UnifiedTrackingHub saves fbp, fbc, IP and user agent at checkout, then sends the Purchase from your server with hashed email, phone, name and address, deduplicated with the browser Pixel. Free Lite version, or full plans from $79 a year.

See pricing Try the live demo

See pricing – from $79 a year