How to Add a Pop-Up Form to Your Decision Tree

In this article, you’ll learn how to add a pop-up (modal) so your form appears above the underlying question. Example: Test this Sample Pop-Up Decision Tree: https://marketing.leadshook.io/survey/l5Dt9bDEjmciUkDYu5cXiK4xJDye1Sa29mTISTTw Short Video to Explain Pop-Up Decision Tree Example (Please send your developer or technical resource to this page or contact LeadsHook for any custom requests). Download the sample […]

Read More

Grabing Lead data using Leadshook endpoint via RESTful API

PLEASE NOTE: This API document is NOT for LeadsHook’s API and Webhook nodes. The LeadsHook API is designed so you send and grab data directly out of LeadsHook using another app or server. Working with APIs is best done with the help of a developer Introduction: The LeadsHook API is mainly used to ‘grab’ your […]

Read More

Google Places – extra Address verification script

PLEASE NOTE: This script is provided to help you get started. Unfortunately, our free support does not include custom scripts. Any competent JS developer should be able to manipulate this script for your needs. Please contact us if you need help to find a developer. Please thoroughly test before use. In a question node of […]

Read More

How to Send Node-Level API Requests Using JavaScript

PLEASE NOTE: This script is provided to help you get started. Unfortunately, our free support does not include custom scripts. Any competent JS developer should be able to manipulate this script for your needs. Please contact us if you need help to find a developer. Please thoroughly test before use. Introduction: Step-by-Step Instructions: Step 1: […]

Read More

FB Hash

First we need to add our scripts to the global or DT level scripts section. ( In the DT settings ) That means the FB pixel and the js-sha256 library. Both above the <head> Like so: The library tag to copy/paste looks like this: In a node you want to track setup a node level […]

Read More

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