Sending custom params

How to send custom parameters for each lead.

If you need to add additional params for each lead generated in your website, you can add them programmatically with the following code snippet.

1. Enhance you website script.

Right before including the script generated in Cliengo to your website, paste the following code snippet to include any additional parameter for each generated lead.

window.cliengoCustoms = { 
	customParams : {
      cliengo_property_id: '16772',
      kiteprop: true

customParams works as a key-value Map.

  • Key: You can specify any name for the key, but it has to be a String.
  • Value: You can specify any valid json primitive value (string, date, number, boolean)

After all your customParams where specified your final webpage should look like:

<!-- Start Cliengo Custom Configuration -->
window.cliengoCustoms = { 
  customParams : {
    customParamKey1: '123456789', 
    customParamKey2: 'superValue'
<!-- End Cliengo Custom Configuration -->

<!-- Start Cliengo Installation Code -->
<script type="text/javascript">
  var ldk=document.createElement('script'); 
  var s=document.getElementsByTagName('script')[0];
  s.parentNode.insertBefore(ldk, s);})();
<!-- End Cliengo Installation Code -->

This params will be collected and showed on the 'Clients' tab view in the CRM