On this page
Short answer: event_source_url is the browser URL where the event happened, for example the order confirmation page. Meta requires it on every website event you send through the Conversions API (any event with action_source: "website"), together with client_user_agent. If Events Manager says it is missing, one of two things is true: your server code (or an app) sends website events without the page URL, or it labels events as website when they did not happen on your site at all, like subscription renewals or phone orders. Fix the first by passing the full page URL with each event. Fix the second by sending the right action_source.
A store owner on the Shopify App Store recently left a 1-star review because Events Manager "keeps saying" this field is missing. It is a common warning and it is fixable, usually in one place. This guide explains what the field is, which events need it, the causes we see most, and how to test the fix in 10 minutes.
What event_source_url is
Every event you send through the Conversions API has a few event-level fields. Meta's server event docs describe event_source_url as "the browser URL where the event happened" and say it should match your verified domain.
The browser Pixel fills this in by itself, because it runs on the page and knows the URL. A server event does not. Your server only knows what you hand it, so if your code or app does not pass the page URL along, the field is empty.
Two other fields go with it:
| Field | What it is | When Meta requires it |
|---|---|---|
action_source |
Where the conversion happened (website, app, physical_store, phone_call, system_generated and others) | All events |
event_source_url |
Full URL of the page where the event happened | All website events |
client_user_agent |
The buyer's browser user agent, not hashed | All website events |
Meta's parameter docs say events that are not web events only need action_source. So the warning is only about events marked website.
Why it matters
- Website events without it are incomplete. Meta's best practices list
event_source_urlandclient_user_agentas required for all website events. Leaving them out is not an optional tweak. - It ties the event to your domain. The URL should match your verified domain, which is how Meta knows the event came from your site.
- The same setups usually miss more. If the URL is not passed, the user agent, IP address,
fbcandfbpoften are not either. That drags down Event Match Quality, so fewer of your real sales get matched to ads.
The 5 causes we see most
- Server code that fires from a webhook. Many setups send the Purchase from an "order created" webhook. The webhook has the order but not the browser page, so the URL never gets added. Fix: save the checkout or thank-you page URL (plus user agent,
fbcandfbp) with the order while the buyer is on the site, then send it with the server event. - The wrong
action_source. Subscription renewals, phone orders, manual orders and refunds are often sent aswebsitebecause that was the default in the code. They have no page URL, so Meta flags them. Meta lists other values (system_generated,phone_call,physical_store,email,chat,app,business_messaging,other) and says offline events should not usewebsite. Pick the one that is true. By using the API you also agree thataction_sourceis accurate. - An empty or partial URL. Sending
"","/thank-you"or just the domain name still leaves Meta without the page. Send the full URL, starting withhttps://. - A second connector you forgot about. An old tracking app, a Zapier-style automation or a developer's test script can keep sending server events after you stopped using it. If it sends website events without the URL, the warning stays even when your main setup is fine. Check every connection method on the dataset (see the test below). If you recently removed a tracking app, also look for its leftover code.
- A URL on a different domain. Meta says the URL should match your verified domain. If events report a staging site, a page builder subdomain or a domain you have not verified, fix the URL or verify the domain in Business Settings.
What a correct website event looks like
Here is a minimal server Purchase, in the shape Meta documents. Your app or developer builds this, but you can use it to check what is being sent.
{
"data": [{
"event_name": "Purchase",
"event_time": 1764288000,
"event_id": "order_10234",
"action_source": "website",
"event_source_url": "https://yourstore.com/checkouts/thank-you",
"user_data": {
"em": ["<sha256 of lowercase email>"],
"ph": ["<sha256 of phone with country code>"],
"client_ip_address": "203.0.113.10",
"client_user_agent": "Mozilla/5.0 (iPhone; ...)",
"fbc": "fb.1.1764287000000.AbCdEf",
"fbp": "fb.1.1764286000000.123456789"
},
"custom_data": { "currency": "USD", "value": 64.00 }
}]
}
Things to check: action_source is website only when it really happened on the site, event_source_url is a full URL on your domain, client_user_agent and IP are not hashed, and event_id matches the Pixel's event ID so the two copies deduplicate. More on that in Meta CAPI deduplication and event_id.
And a subscription renewal, which should not be a website event:
{
"event_name": "Purchase",
"event_time": 1764288000,
"action_source": "system_generated",
"user_data": { "em": ["<sha256 of lowercase email>"] },
"custom_data": { "currency": "USD", "value": 29.00 }
}
On Shopify
If you use Shopify's Facebook & Instagram app with data sharing set to Enhanced or Maximum, Shopify sends the Conversions API events for you. You don't edit the payload there. So if the warning appears on a Shopify store, the first thing to check is whether another source is also sending server events to the same dataset: a second tracking app, a custom integration, or leftovers from an app you removed. Two senders also means a risk of counting purchases twice.
On WooCommerce or a custom build, the fix lives in whatever sends the events (the plugin settings or your developer's code). Use the payload above as the checklist.
Test it in 10 minutes
- Find the senders. In Events Manager, open your dataset and the Overview. Open the Purchase event and look at how it is received (browser, server, and which integration). Write down every server source you see.
- Read the warning. Open the Diagnostics tab and note which event names the missing-URL warning mentions. If it is only Purchase or only one event, that narrows it to one sender.
- Open Test Events. In Events Manager go to your dataset, then Test Events, and copy the test code. Meta says events sent with
test_event_codeare not dropped, and the field should only be used for testing, so remove it afterwards. - Place one real test order on your site. In Test Events, check the server copy of the Purchase: does it show the page URL and user agent? If you send events with your own code, Meta's Payload Helper shows the expected fields.
- Check your offline events. If you also send renewals, phone or manual orders, confirm they use a non-website
action_source.
The warning is fixed when new server website events arrive with the URL and Diagnostics stops listing new cases over the next days of normal traffic.
Not sure what else is off before Black Friday? Run the free purchase gap checker to compare Meta purchases with your store orders, then go through the free 15-point tracking audit and the BFCM tracking checklist.
Questions people ask
Is event_source_url required for the Conversions API?
Yes, for website events. Meta's docs say all website events sent with the Conversions API need event_source_url and client_user_agent, plus action_source. Events that did not happen on a website, such as app, phone or store events, only need action_source.
Why does Meta say event_source_url is missing when my Pixel works?
The Pixel runs in the browser and adds the page URL by itself. The warning is about server events. Your server, app or connector is sending website events without the URL, or it is marking non-web events like subscription renewals as website.
What should event_source_url contain?
The full browser URL of the page where the event happened, for example your thank-you page for a Purchase or the product page for ViewContent. It should be on your verified domain. A blank value, a path without the domain, or a staging domain does not help.
Can I just set action_source to something else to make the warning go away?
Only if it is true. Meta asks that action_source is accurate to the best of your knowledge. Use system_generated for automatic events like renewals, phone_call for phone orders, physical_store for in-store sales, and keep website for real website events with the URL filled in.
Does a missing event_source_url hurt my ads?
It means those website events are missing a field Meta requires, and the same setups usually miss other customer details too, which lowers Event Match Quality. Fewer matched purchases means fewer sales Meta can credit to your ads and learn from.
How long until the warning goes away?
Meta's docs don't give a time. Diagnostics looks at recent events, so after the fix confirm a test order in Test Events, then check Diagnostics again over the next few days of normal traffic.
Sources
- Meta for Developers: Server event parameters (event_source_url, action_source)
- Meta for Developers: Conversions API parameters
- Meta for Developers: Conversions API best practices
- Meta for Developers: Using the Conversions API (Test Events, test_event_code)
- Shopify Help Center: Meta data sharing
Platform menus and defaults change often. This guide reflects them as of 29 Nov 2026. Nothing here promises results: they depend on your store, offer, budget and execution.