Landing pages and UTM tagging
How to send leads from your own landing page into the Lead app and tag your ad URLs so each lead is tied to its campaign, ad group and ad.
In plain words: this page shows how to send visitors from your ads to your own web page, and get every form they fill in to land in the Lead app with the ad it came from. UTM tags are small labels added to a web link (like
utm_campaign=spring) that say where a visitor came from. New to ad terms? See Ads basics.
Where to find it: Lead app > Settings > Lead sources (the source), plus the URL settings of each ad inside its ad platform.
Who can use it: creating a source in the Lead app needs a Leads admin.
This is route C in How you run ads decides how you set up. The person clicks your ad, leaves the platform and fills in a form on your own page. Attribution (knowing which ad produced which lead) is not automatic here. The ad platform tells Rework nothing, so your page has to.
This works the same way on every platform, because you own the page. It is also the route for ChatGPT Ads.
Before you start
Have a landing page with a form (or a page builder such as Webflow, Unbounce, Wix, Ladipage or HighLevel).
Have access to the Lead app and to the ad platform where you edit your ads.
Know which Lead service the leads should go to. A Lead service is the list in the Lead app where leads are kept.
Create a landing page source in the Lead app
A source is the entry in the Lead app that receives leads from one place, here your page.
In the Lead app, go to Settings > Lead sources, open Source integrations and choose Connect new (or Add source).
In Connect integration, pick the Service the leads should go to and give the source a Name.
Choose the type that matches your page builder, then choose Connect.
Landing pages: Webflow, Unbounce, Wix, Ladipage, HighLevel.
API: HTTP API, a generic JSON webhook for your own site.
Connectors: Zapier, Make, AI Web Capture.
Open the source. On the Details tab, the API guidelines block shows Set up your landing page steps (for supported page builders), the Endpoint (the webhook URL to POST to, with a secret token and a copy button), the Lead payload and a Sample request.
The token identifies both your workspace and the source, so keep it secret. If it leaks, use Regenerate token in the ... menu (or rotate it under Edit settings > Delivery). That menu also has Disconnect and Remove. To copy the endpoint, use the copy button next to it.

For the full reference, see Connecting sources and Channels and attribution.
Make the page post to the endpoint
Set your page or form tool to POST to the endpoint when someone submits. JSON and form-encoded both work.
In the Lead app, open the source's Transform fields tab.
Map each incoming key to a Lead field. Auto Map Fields helps, and Validate checks the result. Keys with spaces need underscores instead.

Make the page post the full URL back
Rework reads the tracking keys from a link (or referral_url) field. If your page only posts the form answers and not the URL it was on, every parameter from the tagging step is lost.
Add a hidden field to the form that carries
window.location.href. In a page builder, use its "page URL" value.Name the field
referral_url.
Tag the ad URL
This is the step people skip. In the ad platform, fill in the URL parameters (or tracking template) of your ads using its dynamic macros. A macro is a placeholder such as {{campaign.id}} that the platform replaces with the real value at click time, so the real campaign, ad group and ad ids travel along with the link.
Which keys Rework reads
Rework reads these keys from the landing page URL. Anything else in the URL is ignored.
Key | What it fills |
|---|---|
| The Meta campaign |
| The Meta ad set |
| The Meta ad |
| The Google campaign |
| The Google ad group |
| The click IDs for Meta, Google, TikTok, LinkedIn and ChatGPT |
| The Meta browser ID |
| The standard UTM fields, saved on the lead |
A click ID is a code the platform adds to the link on each click. Rework uses it to match the lead back to the platform.
Meta
In Meta Ads Manager, open the ad and go to the Tracking area (below the destination).
Under the website URL, choose Create a URL parameter (the URL parameters box).
Paste:
meta_ad_campaign_ext_id={{campaign.id}}&meta_ad_group_ext_id={{adset.id}}&meta_ad_ext_id={{ad.id}}Publish the ad.
Meta also adds fbclid to the link on its own. Meta help: Add URL parameters to your Meta ads.
Google Ads
Google appends a gclid when auto-tagging is on. Keep it on:
In Google Ads, click Admin, then Account settings.
Open Auto-tagging and tick Tag the URL that people click through from my ad.
Click Save.
Google help: About auto-tagging.
Google also adds gad_source and gad_campaignid to the final URL of its ads on its own, so the campaign usually arrives without any setup. Google help: About gad_* URL parameters. Google's page does not list an ad group id parameter, so to send the ad group, add this to the Final URL suffix:
gad_adgroupid={adgroupid}To set it at account level: Admin, Account settings, Tracking template, type the text in Final URL suffix, Save.
For one campaign: Campaigns, Settings tab, click the pencil in the Tracking template column, fill Final URL suffix, Save.
Google help: Add a Final URL suffix. If you also want gad_campaignid={campaignid} as a fallback, add it the same way.
{campaignid}, {adgroupid} and {creative} (Google's ad id) are Google's ValueTrack parameters. Google help: Set up tracking with ValueTrack parameters. Rework has no key for a Google ad id, so use utm_content={creative} if you want it saved on the lead.
TikTok Ads
TikTok's macros are __CAMPAIGN_ID__ (campaign), __AID__ (ad group) and __CID__ (creative). Rework has no campaign id key for TikTok, so add them as UTM fields, which are saved on the lead:
utm_campaign=__CAMPAIGN_ID__&utm_term=__AID__&utm_content=__CID__To add them: in TikTok Ads Manager open the ad, go to Ad details, and fill the URL parameters (UTM) fields or the custom parameters box. TikTok help: How to add URL parameters to your website URL, supported macros.
TikTok adds ttclid itself, in the form &ttclid=..., without disturbing your other parameters. TikTok help: About TikTok Click ID. The click id is what Rework uses to match the lead back to the platform.
LinkedIn Ads
LinkedIn adds li_fat_id when its insight tag is on your page. For ad ids, use LinkedIn's URL tracking parameters in Campaign Manager: open the account or campaign, find the URL tracking parameters field, and add dynamic values in double curly brackets and capital letters, with & between them, for example:
utm_campaign={{CAMPAIGN_ID}}&utm_content={{CREATIVE_ID}}Dynamic parameters can be set at account or campaign level. LinkedIn help: URL tracking parameters in Campaign Manager, Dynamic UTM tracking.
Rework has no LinkedIn campaign id key, so these values are saved as UTM fields on the lead, and the li_fat_id is what matches the lead back.
ChatGPT Ads
ChatGPT adds its click reference oppref to the landing URL. Keep it on the link, and make sure your page posts the full URL back (see Make the page post the full URL back), because Rework reads oppref from it.
ChatGPT Ads also lets you add a query string template with macros at campaign, ad group or ad level:
utm_source=openai&utm_campaign={campaign_id}&utm_content={ad_id}{campaign_id}, {ad_group_id} and {ad_id} are the macros OpenAI lists. Rework has no ChatGPT campaign key, so they are saved as UTM fields on the lead. OpenAI help: Campaign management, Measurement pixel.
What is captured for you
No tagging is needed for these:
Referral URL (
referral_url) and referral domain (referral_domain)IP location (
geo_ip)The
utm_*fields and click IDs, whenever they are in the URL you posted
Check it before you spend money
Send one test submission through the live ad URL, not a copy-pasted page address.
Open the new lead in the Lead app.
Check field by field: your answers, the referral URL, the click ID and the campaign, ad group and ad.
After the next stats sync, check the campaign's Leads column in AdManager. See Connecting to the Lead app.
Keep it working
Re-check the tagging after a campaign is duplicated. Duplicating usually keeps the URL parameters, but rebuilding an ad from scratch does not.
When the page changes and a field is renamed, update the mapping on the source's Transform fields tab.
Protect the form from spam. A public webhook behind an unprotected form is an open invitation.
Troubleshooting
Problem | Why it happens | What to do |
|---|---|---|
Leads arrive perfectly, but Leads stays at zero | The ad has no URL parameters (the classic route C failure) | Add the macros from the tagging section to every ad |
Same result, and the parameters are on the ad | The page does not post the URL back | Add the hidden |
Parameters disappear on the way | A redirect or link shortener strips the query string | Link straight to the page |
Every lead is attributed to one ad | Hard-coded values were used instead of macros | Replace them with the platform's macros |
Answers land in the wrong field or disappear | Wrong field keys | Fix the mapping on the Transform fields tab |
Submissions are rejected | The source is disabled, or the token is wrong | Enable the source and check the endpoint's token |
A new ad has no tags | It was rebuilt from scratch | Add the URL parameters to the new ad |
More in Fix it by symptom and Common errors.