For Third-party web forms - Google Ads and Zoho CRM

For Third-party web forms - Google Ads and Zoho CRM

https://help.zoho.com/portal/en/kb/crm/integrations/google/google-ads/articles/configure-google-ads-crm-integration#Step_2_Add_hidden_element_in_your_web_forms

For Third-party web forms:

In the case of the third party web form builder, besides adding the hidden field code in the web form and tracking code in all the web pages, you must include the "GCLID" variable in your existing API script.

To set up webform tracking via third party web forms

  1. Add the following hidden field code in your web form's code.
    <input type='hidden' id="zc_gad" name="zc_gad" value=""/>
  2. Add the following tracking code in all the web pages of your website, right before the </body> tag.
    <script type="text/javascript" src='https://crm.zoho.com/crm/javascript/zcga.js'></script>
  3. Include the "GCLID" variable in your existing API script as shown in the sample below to transfer the tracking details.
    {
        "data": [
            {
                "Company": "Zylker",
                "Last_Name": "Daly",
                "First_Name": "Paul",
                "Email": "p.daly@zylker.com",
                "State": "Texas"             "$gclid": "CMPjuu-Xx78CFRSTjgodPHsA3Q"
            }
        ]
    }

The tracking code "zcga.js" fetches the GCLID from the browser's cookies and sends it to the third party's database. In order to make this information available in Zoho CRM you must push the data to Zoho CRM via API. Along with the existing variables, include the GCLID variable as well so that the GCLID is pushed to Zoho CRM.