Skip to content

UTM tags and click IDs

Which campaign details Leadux records with each lead, how long it keeps them during a visit, and where you find them in emails, Zoho CRM and webhooks.

When a visitor arrives through an ad or a tagged link, Leadux records the campaign details from the page address and keeps them with the conversation. You then see which campaign brought in each lead, and your CRM can report on it.

What Leadux records

The widget reads these values from the address of the page the visitor lands on:

Parameter What it is
utm_source Where the visitor came from, such as google or newsletter
utm_medium The type of traffic, such as cpc or email
utm_campaign The campaign name
utm_term The keyword, for search ads
utm_content Which ad or link, when you tag several
gclid The Google Ads click ID
fbclid The Meta (Facebook, Instagram) click ID

Each value is kept up to 255 characters. The widget also reads the _ga, _fbp and _fbc cookies when your website has set them. These are used for server-side conversions. If the visitor has a _fbc cookie but no fbclid in the address, Leadux takes the Meta click ID from the cookie.

How long it is kept

The widget keeps the campaign details for the browser session: until the visitor closes the tab. A visitor who lands on your homepage from an ad and starts a chat three pages later still has the ad's details on their lead.

  • A new tagged visit replaces them. If the visitor clicks another tagged link in the same session, the new values replace all the old ones. Within a session, the last tagged visit wins.
  • Nothing carries over to a later visit. A visitor who clicks your ad today and comes back tomorrow by typing your address has no campaign details on tomorrow's lead.
  • They are saved when the chat starts. The conversation keeps the details it started with.

Leadux uses no cookies of its own for this.

Where you see them

Where What appears
Lead email The UTM tags, under "The visitor arrived through this campaign". Click IDs are not included.
Zoho CRM The values you assign to your own Zoho fields under Choose fields. UTM tags without a field go into the lead description. Click IDs are sent only to a field.
Webhook The fields utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid and fbclid. They are off by default: switch them on under Fields.

Empty values are left out everywhere. A lead from a visitor without campaign details has none.

Tips for clean data

  • Tag every ad and email link with at least utm_source, utm_medium and utm_campaign.
  • Keep auto-tagging switched on in Google Ads so gclid is added for you.
  • Check that redirects on your website keep the query string. A redirect from example.com/?utm_source=google to example.com/en/ that drops the parameters loses the campaign details before the widget can read them.

Last updated . Questions? Write to support@leadux.com.