Add Referral URL in Zoho CRM Webform Lead Generation

Zoho is one of the best CRM around the web. But their chat support is sluggish sometime. Needed to add referral url, that from which site or webpage user has submitted the lead form. There is default lead source merge field, while creating the web-form in zoho crm. But that doesn’t serve well.

You have to do following steps to achieve this.

  1. Use email template for the webform lead notification instead of system generated email.
  2. Add LeadSource field in webform, select any of its option, make it hidden. also add this in custom email template as merge-field.
  3. Add my under given code in wordpress’ footer or header, or where you are placing this form embed code. It will work.

    Referral JS Code is given below:

//code is below:
jQuery(document).ready(function() {jQuery(location).attr('href');var pathname= window.location.href;jQuery("[name='Lead Source']").append('<option selected value='+pathname+'>Referral</option>');});
//code ends here



Related Articles


    1. Thank you Ab. Sorry i only publish content with my interest don’t have time for freelancing right now. ^_^

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button