On this page
What this issue is
GoHighLevel (GHL) records an attribution on each contact: where the visitor came from when they submitted a form, booked or chatted. You see it in the contact's Attributions section (first and latest). It normally holds the source, medium, campaign, referrer and the page the visitor landed on.
The issue is when that section is empty, shows only 'Direct traffic', or lacks the campaign details you expected. The lead exists, but you cannot tie it to a channel.
Why it costs you leads or sales
Without a source you cannot tell which ads or campaigns produce leads that close. You may cut a campaign that works or keep paying for one that does not. Reports, workflows that branch on source, and any offline conversion upload that relies on the stored click ID all break quietly.
- Ad clickURL has utm_source and gclid
- Redirect or new domainParameters stripped
- Form submitNo source sent to GHL
- Contact createdAttribution blank
The visitor arrives with UTMs, but they are gone before the form submits.
Example: share of new contacts with a source before and after the fix. Numbers are illustrative.
How to check if your site has it
Build a tagged URL
Open your landing page with ?utm_source=test&utm_medium=cpc&utm_campaign=attribution-check added.
Submit the form
Use a private window and a new test email address. Complete the real form, survey or booking widget.
Open the contact in GHL
Go to Contacts, open the new contact and look at the Attributions section.
Compare
If source, medium and campaign do not match your URL, the parameters were lost somewhere on the way.
Find the break
Check the address bar after each click. If the parameters disappear after a redirect or when you move to another domain, that is the break.
| Cause | Sign |
|---|---|
| Redirect strips parameters | URL is clean after the first load |
| Form on another domain or in an iframe | Page URL inside the form has no UTMs |
| Third-party form posting to GHL by API or webhook | Contact created without attribution |
| Contact already existed | First attribution kept from an earlier visit |
| Browser privacy or ad blockers | Referrer hidden, shows Direct |
How to fix it
Use a native GHL form or survey
Native forms and surveys record attribution on submit. Add them with the form builder rather than a custom HTML form where you can.
Embed correctly
If you embed a GHL form in another site, use the embed code GHL gives you for the form, and make sure the host page URL keeps the UTMs.
Add hidden fields as a backup
Add hidden fields in the form builder for utm_source, utm_medium and utm_campaign. Hidden fields can pick up matching URL parameters. Map them to custom fields.
Check redirect plugins
Redirect or SEO plugins and caching rules can drop query strings. Set them to pass the query string through.
Embed the GHL form on the page
Use the GHL embed code in an HTML block so the form sits on the same page that has the UTMs.
Use an Embed element
Paste the GHL form embed into an Embed element on the landing page. Avoid Webflow's own form if you want GHL to own the attribution, or send it by webhook with the UTMs as fields.
Check 301 redirects
In Project settings, Hosting, check redirect rules do not send tagged URLs to a clean URL without the query.
Store UTMs on landing
Save the parameters in a cookie or sessionStorage on the first page, then write them into hidden fields on the form, as in the snippet below.
Keep the query on redirects
Configure server redirects to append the original query string.
(function () {
var keys = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','gclid','fbclid'];
var params = new URLSearchParams(location.search);
keys.forEach(function (k) {
var v = params.get(k);
if (v) sessionStorage.setItem(k, v);
});
document.querySelectorAll('form').forEach(function (form) {
keys.forEach(function (k) {
var field = form.querySelector('input[name="' + k + '"]');
var v = sessionStorage.getItem(k);
if (field && v) field.value = v;
});
});
})();Before
- Attributions section empty or Direct
- Campaign unknown
- Redirect drops the query string
After
- Source, medium and campaign shown
- Hidden fields hold the UTMs
- Query string kept through redirects
How to confirm it's fixed
- Submit a tagged test lead with a new email address
- The contact's Attributions show the test source and campaign
- Hidden custom fields contain the UTM values
- The URL keeps its parameters at every step
- Repeat for each landing page and form you run ads to
How to prevent it happening again
Re-test after any change to redirects, forms, domains, caching or page builders. Keep one documented tagged test URL for each campaign type. Review a few recent contacts weekly and note any with no source.
How FunnelGuard handles this
FunnelGuard detects this only partly. Its check is a GHL lookup: after the robot submits a test lead, it looks up the resulting contact in GoHighLevel and checks whether an attribution source was recorded. Test traffic is marked with utm_source=funnelguard and fg_test=1, so the lookup shows whether a source arrives at all.
It does not judge whether the source is the right one for your real ad traffic, whether every campaign and landing page keeps its UTMs, or whether real visitors on privacy-restricted browsers are attributed. Cover that by hand: run the tagged test above for each ad landing page, and spot-check recent real contacts in GHL.
Questions people ask
Why is my GoHighLevel contact attribution source blank?
The form submission reached GHL without UTMs or a referrer. Common causes are redirects that strip the query string, a form on another domain, or a third-party form sending data by webhook. Test with a tagged URL and check where the parameters disappear.
Where do I see attribution on a GoHighLevel contact?
Open the contact in Contacts and look at the Attributions section. It shows the first and latest attribution, with source, medium, campaign and landing page where available.
How do I get UTM parameters into GoHighLevel?
Use a native GHL form or survey on a page whose URL keeps the UTMs. As a backup, add hidden fields named utm_source, utm_medium and utm_campaign and map them to custom fields.
Why does GoHighLevel show Direct traffic for paid leads?
The visitor's UTMs or referrer were lost before submit, so GHL had nothing to credit. Redirects, privacy settings and embeds on a different page are typical reasons.
Does GoHighLevel overwrite the first attribution on repeat visits?
No, it keeps the first attribution on a contact and adds later ones. Always test with a new email address so you see a fresh record.
Can FunnelGuard check GoHighLevel attribution?
Partly. It runs a GHL lookup on the test lead to see whether a source was recorded. It does not verify attribution for every real campaign, so keep spot-checking by hand.
Related issues
- TRK-270UTMs not written to CRM contact fieldsFix guide
- TRK-271gclid/fbclid not written to CRMFix guide
- TRK-277Lead source field overwritten on later visitsFix guide
- TRK-278Hidden UTM fields present but emptyFix guide
- TRK-279Hidden fields populated with literal placeholders ({utm_source})Fix guide
- TRK-280First-touch vs last-touch UTM fields swappedFix guide