Which Facebook or Instagram ad brought this lead?
Ads Manager tells you how many leads a campaign brought. It does not tell you which of the enquiries in your inbox came from which ad, whether a visitor came from Facebook or from Instagram, or which of those leads became customers. For a business that sells after the first contact, that is the part that matters.
This guide shows how to see the Meta campaign and ad of every enquiry on a WordPress site, and how to tell Meta which leads were worth it.
Step 1: add URL parameters to your ads
Meta adds a click ID, fbclid, to every ad click, but not the name of the campaign. Add it yourself with dynamic parameters. In Ads Manager, open the ad, scroll to Tracking and enter under URL parameters:
utm_source={{site_source_name}}&utm_medium=paid_social&utm_campaign={{campaign.name}}&utm_content={{ad.name}}
Meta fills in the placement, such as fb or ig, the campaign name and the ad name at the moment of the click. To do this for many ads at once, select them in Ads Manager and edit them together.
Step 2: save the source with every enquiry
The parameters are only in the address of the landing page. Hidden fields in your form read them only when the visitor sends the form on that very page, during that visit.
Dealroot, a free plugin, remembers the parameters and the fbclid for the whole visit and for later visits, and saves them with every enquiry from Contact Form 7, WPForms, Elementor, Gravity Forms, Fluent Forms and 20 more form plugins. The lead shows Facebook or Instagram, the campaign and the ad, and the reports show enquiries, customers and revenue per campaign. Visits from posts and profiles without an ad are recognised as social visits, so paid and free reach stay apart.
Why the pixel alone is not enough
- The pixel runs in the browser. Ad blockers, refused cookies and in-app browsers stop some events from ever reaching Meta.
- It counts the form submission and stops there. A lead that became a customer three weeks later looks exactly like spam that sent the same form.
- Meta then optimises for people who send forms, not for people who buy.
Step 3: tell Meta which leads became customers
With Dealroot Pro, every lead you mark as qualified or won is sent to the Meta Conversions API from your server, by default as QualifiedLead and Purchase with the deal value. Email address, phone number and name are hashed with SHA-256 before they leave your site, and Meta matches them to the person who saw or clicked the ad. Nothing is sent for visitors who refused marketing cookies in your consent banner. Your pixel keeps counting form submissions as before.
Import your Meta ad spend as well, and the reports show the cost per customer and the return of each campaign next to Google Ads and your other channels.
Summary
Add URL parameters to your Meta ads, save them with every enquiry, and report back which leads became customers. Then you can see which campaigns and ads pay, and Meta can find more people like your customers instead of more people who fill in forms.