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

Image:

2 Comments

  1. Ab. January 21, 2019
    • Reviewer Admin January 21, 2019

Leave a Reply