Share this guide
Zoho

Zoho Forms

Send every Zoho Forms submission to FunnelTrack with a webhook. Two hidden fields carry the visitor's FunnelTrack IDs, so each submission is tied to the ad click that brought them in.

Connect Zoho first
This assumes you've finished the Connect steps: connected Zoho in FunnelTrack, copied your webhook URL, and deployed the FunnelTrack pixel on your site.
Requirements
  • Zoho Forms must be embedded on your site with the iframe embed code. Zoho-hosted form links (forms.zohopublic.com) can't be attributed, because the FunnelTrack pixel isn't on those pages.
  • The FunnelTrack pixel must be deployed on every page your forms are embedded on, and on every other page of your site, so the visitor's session and ad click are captured before they reach the form.
  • Zoho Forms tracking is set up form by form. The hidden fields, field aliases and webhook live in each form's own settings, so repeat the setup for every form you want to track.

Supported events

EventWhen it fires
All Form SubmissionsAny Zoho form that posts to your FunnelTrack webhook URL is submitted.
Specific Form SubmissionA form whose form_id matches the ID you enter on the event card is submitted.

1. Add the attribution hidden fields

These carry the visitor's FunnelTrack IDs into the submission.

1

Add two Single Line fields

Open your form in Zoho Forms. From Form Fields on the left, drag two Single Line fields onto the form and label them ft_sid and ft_uid. You can place them anywhere, since visitors won't see them.

FieldLabel
Single Line field 1ft_sid
Single Line field 2ft_uid
Zoho Forms builder with two Single Line fields labeled ft_sid and ft_uid
Add ft_sid and ft_uid as Single Line fields.
2

Hide both fields

Open each field's settings, leave Initial Value empty and Mandatory unchecked, and set Visibility to Hide.

Zoho Forms field settings with Visibility set to Hide
Set Visibility to Hide on both fields.
3

Set the field aliases

Go to Settings → Prefill → Field Alias - Prefill URL and click Configure Now. Set the alias for the ft_sid field to ft_sid and for ft_uid to ft_uid, then save.

FieldField alias
ft_sidft_sid
ft_uidft_uid
The aliases must match exactly
Zoho only fills a field from the page URL when the field's alias matches the URL parameter name. Without these aliases the IDs never reach the form.
Zoho Forms Settings, Prefill section, Field Alias - Prefill URL page
Settings → Prefill → Field Alias - Prefill URL.
Field alias table mapping the ft_sid field to ft_sid and the ft_uid field to ft_uid
Alias each field to its own name.

2. Add the injector script to your site

Passes the visitor's IDs into the embedded form.

4

Embed the form with the iframe code

In Zoho Forms go to Share → Embed → iframe and use the Basic iframe code on your page. The injector looks for an iframe whose address contains zohopublic.com.

Zoho Forms Embed options with the Basic iframe code
Share → Embed → iframe → Basic iframe.
5

Paste the injector after the FunnelTrack pixel

Add this script to every page with the form, after the FunnelTrack pixel. It waits for the pixel, then adds ft_sid and ft_uid to the form's iframe URL so Zoho prefills the hidden fields.

<script>
// FunnelTrack → Zoho Forms (iframe embed): passes ft_sid + ft_uid into the form.
// The form lives in an iframe, so we add the IDs to the iframe URL and Zoho
// pre-fills the matching fields. Place after the FunnelTrack pixel.
//
// In Zoho, set the "Field Alias" (link name) of your two hidden fields to
// ft_sid and ft_uid so Zoho knows which fields the URL values belong to.
function waitForFunnelTrackAndExecute(callback, maxAttempts = 10, interval = 500, delay = 1000) {
    setTimeout(() => {
        let attempts = 0;

        const checkAndExecute = () => {
            const ft = window.ft || window.tracker;
            const sid = ft && typeof ft.getSessionId === "function" ? ft.getSessionId() : null;
            const uid = ft && typeof ft.getUserId === "function" ? ft.getUserId() : null;
            if (sid && uid) {
                callback(sid, uid);
            } else if (attempts < maxAttempts) {
                attempts++;
                setTimeout(checkAndExecute, interval);
            } else {
                console.error("FunnelTrack IDs not available after multiple attempts.");
            }
        };

        checkAndExecute();
    }, delay);
}

waitForFunnelTrackAndExecute((sid, uid) => {
    var iframes = document.querySelectorAll("iframe[src*='zohopublic.com']");
    if (!iframes.length) {
        console.error("Zoho Forms iframe not found.");
        return;
    }
    iframes.forEach(function (iframe) {
        var url = new URL(iframe.getAttribute("src"), window.location.href);
        if (url.searchParams.get("ft_sid") === sid && url.searchParams.get("ft_uid") === uid) return;
        url.searchParams.set("ft_sid", sid);
        url.searchParams.set("ft_uid", uid);
        iframe.setAttribute("src", url.toString());
    });
});
</script>
The form reloads once
Updating the iframe URL reloads the form about a second after the page loads. Visitors rarely notice, but anything typed in that first second is cleared.

3. Send submissions to FunnelTrack

Add your FunnelTrack webhook URL to the form.

6

Open the form's webhooks

In the left menu of the form builder, click More → Integrations. Scroll the integrations list to Developer & Automation and choose Webhooks.

Zoho Forms builder More menu with Integrations highlighted
More → Integrations.
Zoho Forms Integrations page with the Webhooks card
Choose Webhooks.
7

Paste your webhook URL

Paste the webhook URL from Integrations → Zoho in FunnelTrack into Webhook URL. Leave Authorization Type on General and Content Type on application/json. You don't need to add URL parameters or custom headers.

Zoho Forms webhook configuration with the Webhook URL field and Content Type set to application/json
Paste your FunnelTrack webhook URL; keep application/json.
8

Map the payload with the approved keys

Under Payload Mapping, type a key on the left and pick the matching form field on the right. Zoho doesn't map fields for you, so use the exact key names in the approved keys table below. FunnelTrack recognizes those keys automatically as user data. At minimum, map email, ft_sid, and ft_uid. Click the + button to add a row, and double-check each key points at the right form field (for example first_name → Name - First).

Minimum keys to mapKey
Email fieldemail
ft_sid hidden fieldft_sid
ft_uid hidden fieldft_uid
Use the key names as written
Capitals and spaces are ignored, so First Name also works as first_name. Any other key still reaches FunnelTrack and shows up in Find Data, but it isn't treated as user data unless you map it in the event's User Data section.
Zoho Forms Payload Mapping with keys on the left and form fields on the right
Payload Mapping: a key on the left, a form field or custom value on the right.
9

Add a form_id (recommended)

Add a row with the key form_id, open the field dropdown, click Add Input Manually, and enter a short name for this form (for example event_registration). FunnelTrack uses it to scope Specific Form Submission events. Use a different value on each form.

Payload Mapping rowEnter exactly
Keyform_id
Value (Add Input Manually), exampleevent_registration
Optional keyevent
Its value (Add Input Manually)form_submission
Zoho Forms field dropdown with the Add Input Manually button
Add Input Manually sets a fixed value.
Zoho Forms Custom Input dialog with event_registration entered
Enter a name for this form.
10

Check the preview and save

The Preview shows the JSON Zoho will send. Click Save, then Test Webhook or submit the live form once.

Zoho Forms webhook payload preview showing the mapped JSON keys
Preview the payload, then Save.

A real submission looks like this:

{
  "event": "form_submission",
  "form_id": "event_registration",
  "first_name": "Jane",
  "last_name": "Doe",
  "email": "jane@example.com",
  "phone": "+15555550123",
  "company_size": "1-10",
  "ft_sid": "c55522d1-8431-4935-a7eb-ef9a926927b0",
  "ft_uid": "81843926-59eb-48ee-bcea-1b273b2c6458.a901d1b14c1791d2"
}
Repeat on each form
Zoho Forms webhooks are set up per form. Add the same FunnelTrack URL to every form you want to track.

4. Pass ft_uid into Zoho CRM (recommended)

Only if this form also creates leads or contacts in Zoho CRM.

If your form sends submissions to Zoho CRM, store the visitor's ft_uid on the CRM record too. Your Zoho CRM webhooks can then include it, so later events like a lead status change or a closed deal match back to the visitor's original web session and ad click.

11

Add an ft_uid field to your CRM module

In Zoho CRM, open Settings and under Customization click Modules and Fields.

Zoho CRM Settings page with Modules and Fields under Customization
Settings → Customization → Modules and Fields.

Hover the module your form creates (usually Leads, or Contacts), click the ⋯ menu, and choose Fields.

Zoho CRM module list with the Leads menu open and Fields highlighted
Leads → ⋯ → Fields.

Drag a text field into the layout, name it ft_uid (copy it below), and save the layout. Repeat on Contacts if you also convert leads or create contacts directly.

CRM fieldField label
Leads and Contactsft_uid
Zoho CRM Lead Information layout with a new ft_uid field
An ft_uid field on the Leads layout.
12

Map the hidden field in the form's CRM integration

Back in Zoho Forms, go to More → Integrations → Zoho CRM. Under Field Mapping, add a row that maps the CRM ft_uid field to the form's ft_uid hidden field, then save.

Zoho Forms Integrate with Zoho CRM field mapping with ft_uid mapped to the ft_uid form field
Map ft_uid → ft_uid alongside your other CRM fields.

In the same integration, under Actions, check Automation & Process Management so new records trigger your Zoho CRM workflow rules, then click Integrate.

Zoho Forms CRM integration Actions with Automation and Process Management checked
Actions → Automation & Process Management (Trigger Workflow Rules).
Then include it in your CRM webhooks
On each Zoho CRM webhook, add a parameter named ft_uid that pulls from the record's ft_uid field. See the Zoho CRM guide.

5. Route the event in FunnelTrack

13

Enable the event and pick destinations

Open a destination in FunnelTrack, choose Zoho, and enable All Form Submissions, or add a Specific Form Submission event and enter the form_id you set in step 9. Click Find Data to load that form's fields and map extras as event parameters, then check the Event Delivery Log to confirm your test arrived and was attributed.

Approved keys

Use these exact keys in Zoho's Payload Mapping. Map only the ones your form collects.

Map it toKey
Full name. Split into first and last when those aren't sent separately.name
First name (Name - First).first_name
Last name (Name - Last).last_name
Email.email
Phone. Include the country code for the best match rate.phone
City (Address - City).city
State, province, or region (Address - State/Region/Province).state
ZIP or postal code (Address - Zip/Postal Code).zip_code
Country (Address - Country).country
Date of birth.date_of_birth
Gender. Sent to ad platforms as m or f.gender
Your own ID for this person, such as a CRM record ID.external_id
The visitor's IP address (Zoho's IP Address field).ip_address
The visitor's browser user agent.user_agent
Conversion value, as a number.value
Three-letter currency code for value, such as USD. Defaults to USD.currency
A fixed name for this form (Add Input Manually). Scopes Specific Form Submission events.form_id
The ft_sid hidden field. Ties the submission to the visitor's session and ad click.ft_sid
The ft_uid hidden field. Links the submission to the visitor's earlier visits.ft_uid
Zoho CRM only: the lead's Lead Status, on the Lead Updated webhook.lead_status
Zoho CRM only: the deal's Stage, on the Deal Updated webhook.deal_stage

Need a hand? Back to Help.