Skip to content

Lafunder Tech · November 29, 2026

How to Track UTM Parameters in Zoho CRM

To track UTM parameters in Zoho CRM you need three things: fields on the Lead to hold them, a way to read them from the visitor's landing URL, and a way to pass them through whatever form or integration creates the lead. Zoho CRM does not record UTMs on its own.

Here is how to set it up so every lead carries the campaign that produced it, and so you can report revenue by campaign, not just leads.

Step 1: Create the fields

In Setup > Customization > Modules and Fields > Leads, add single-line fields for UTM Source, UTM Medium, UTM Campaign, UTM Term and UTM Content. Add two more that are just as useful: Landing Page (the first URL the visitor saw) and Referrer (the site they came from).

Add the same fields to Contacts and Deals, and map them in Setup > Customization > Modules and Fields > Leads > Lead Conversion Mapping, so the values survive when a lead is converted into a deal. This is the step most setups miss, and it is why their revenue reports have no source.

Step 2: Capture UTMs on the first visit

Visitors rarely fill in a form on the page they landed on. They arrive on a campaign URL, read two other pages, then submit. If you only read the UTMs from the form page's URL, they are gone by then.

Store them on the first page view instead, and read them back when the form is sent:

// On every page: keep the first landing's UTMs for this browser session.
(function () {
  var KEY = "first_touch";
  if (sessionStorage.getItem(KEY)) return;
  var q = new URLSearchParams(location.search);
  sessionStorage.setItem(KEY, JSON.stringify({
    utm_source: q.get("utm_source") || "",
    utm_medium: q.get("utm_medium") || "",
    utm_campaign: q.get("utm_campaign") || "",
    utm_term: q.get("utm_term") || "",
    utm_content: q.get("utm_content") || "",
    landing: location.href,
    referrer: document.referrer
  }));
})();

Use localStorage instead if you want attribution to survive across visits. Either way, write it once and never overwrite it, so the first touch is kept.

Step 3: Pass them into the form

In a Zoho CRM web form (Setup > Developer Hub > Webforms), add your UTM fields as hidden fields. Then fill them from the stored values just before the form submits:

document.querySelector("form").addEventListener("submit", function () {
  var t = JSON.parse(sessionStorage.getItem("first_touch") || "{}");
  ["utm_source","utm_medium","utm_campaign","utm_term","utm_content"].forEach(function (k) {
    var input = document.querySelector('[name="' + k + '"]');
    if (input) input.value = t[k] || "";
  });
});

Hidden field names in Zoho's form code are the field IDs, so check the generated HTML and use those names. If you use Zoho Forms instead, its URL parameter prefill can fill hidden fields from the page URL, but it still only sees the current page, so the first-touch script is still the reliable option.

Step 4: API and third-party integrations

If leads come from your own code, Zapier, Make or a landing page builder, add the UTM values to the record you send. In an API insert they are just more fields:

{
  "data": [{
    "Last_Name": "Smith",
    "Email": "jane@example.com",
    "UTM_Source": "google",
    "UTM_Medium": "cpc",
    "UTM_Campaign": "zoho-crm-us"
  }],
  "trigger": ["workflow"]
}

Use your own fields' API names (Setup > Developer Hub > APIs > API Names). And remember that leads created through the API skip assignment rules unless you pass the rule ID; our round robin guide explains the fix.

Step 5: Report by campaign

  • Leads by UTM Source and Campaign, to see volume.
  • Deals won by UTM Campaign, using the converted values, to see revenue.
  • Average deal value and close rate by Source, to compare channels fairly.

Zoho CRM's own reports handle these. For cost per customer, bring ad spend into Zoho Analytics and join it to the CRM data by campaign.

What about Google Ads and SalesIQ?

Zoho CRM's Google Ads integration can attach click and campaign data to leads from Google Ads, and Zoho SalesIQ records visitor sources for chats. Both are useful, but neither covers every channel. Storing UTMs on the record is the method that works for all of them.

If you want this built and tested across your forms and integrations, see our Zoho CRM integration services.

FAQ

Does Zoho CRM track UTM parameters automatically?

No. You add fields for them and pass the values in from your forms or integrations.

Why do my UTM fields disappear when a lead converts?

The fields are not mapped in Lead Conversion Mapping. Add matching fields to Contacts and Deals and map them.

Should I store first-touch or last-touch UTMs?

First-touch is the most useful single value for small teams. If you need both, store them in separate fields.

Can I capture UTMs from Facebook lead ads?

Lead ads carry campaign and ad IDs rather than UTMs. Map those into the same fields through the integration.

Get a Zoho project estimate

Tell us a little about the project. We'll reply within one business day.

We reply within 1 business day (US/UK hours). Your details stay private.

Free consultationGet estimate