How To Split First Name and Last Name

Introduction: If you are capturing the lead’s full name in one custom field and wanted to display ONLY the first name on the next node, add the below script on the node level. Please note:The example script above ‘{full_name}’ is where you are saving the leads full name. You need to replace this with the […]

Read More

Do calculations using a script

Introduction Step-by-Step Instructions: Step 1: In a Q&A node, add a script Step 2: Give it a name, for type choose script, and set it to fire on exit of the node Important: DT.setField function cannot be used on the last node for V2 DTs. Inside the script section we can define our script. For example: […]

Read More

Change the DT title using a script

Introduction Step-by-Step Instructions: In the DT level scripts: Step 1: Create a new script above the closing </head> section Step 2: Simply copy this code: Change the text in double quotes to be your new title.

Read More

GTM Custom Events

Introduction Google Tag Manager Custom Events are used for tracking interactions that might take place on your website or mobile app that isn’t handled by standard methods. You can create your own event and assign it to a trigger. Basically allowing you to script Google Tag Manager how you like. Reference: You can change the […]

Read More

Loopback to 2nd node in any DT from the header/footer section

Introduction: In any of the header/footer editors copy/paste this button And in the start node source code editor copy/paste this script <script> $(document).ready(function() { if (window.location.href.indexOf(“skip=true”) > -1) { var scope = $(‘.app’).scope() scope.next() } }); </script> Basically if the parameter exists, then skip to 2nd node

Read More

Using Google Sheets as a Lookup Table

Introduction In this article you’ll learn how to use Google Sheets as an external database. You can make API calls from LeadsHook using the API node and SAVE the returning data into custom fields. There are 2 methods available… METHOD 1: Easy Method Using a 3rd Party App (Developer NOT Required) In method 1, you […]

Read More

How to Fire Pixels and Events Based Specific Conditions

Introduction: Step 1: First drag a question node onto the canvas. It will open for editing automatically. Step 2: Give it a title, In this example we will be specifying the question as “Are you male or female?”. Step 3: Select the type of node you want. Any type that specifies a one word answer […]

Read More

Anti Spam/Abuse verification Dialog

Introduction: Here are the steps to create our own custom dialog: Step 1: Create a number custom field called “random_saved”. And set it as visible. And create another number field called “answer”. Again set it as visible. Step 2: Drag a form node on to the canvas and set it up how you like -> […]

Read More