1. Standard UTM parameters

UTM is URL address parameter, which helps to sort information about collected leads. You can track generated data according to them. UTM help to collect links information for tracking software, like Google Analytics.

All UTM parameters are automatically collected and added to lead.

EXAMPLE:

  • when you go to example website:

http://gzb5ejvd.dotests.com?text=sample_text&checkbox=1

  • and someone completes the form with email field, the lead will look like:

email: (filled email address)
utm_source: hello
utm_medium: 123
utm_campaign: 1

2. Non-standard UTM parameters

You can capture any parameter using hidden form fields and paste to JavaScript tab
a code below:

<script>
    var urlParam = getUrlVars();


    for (var prop in urlParam) {
      if (urlParam.hasOwnProperty(prop)) {
        var input = document.querySelector('[name="' + prop + '"]');
       
        if (input) {
          if (input.type === 'checkbox' && urlParam[prop] === '1') {
          input.checked = true;
        } else {
          input.value = urlParam[prop];  
        }
        }
       
      }
    }
</script>

EXAMPLE:

  • you have got the domain:
    http://www.domain.co /?ref=website&name=mike
  • you can capture ref and name using hidden fields with the same attribute names,
  • a hidden field with attribute name ref will capture name parameter, on the other hand, a hidden field with attribute ref ref will capture ref parameter. And so on...

If you have any questions, please let us know at support@landingi.com.
We will be happy to help !;)

Did this answer your question?