How to Add Urgency Using a Countdown Timer to Your Decision Tree

In this guide we will show you how to display count down across all the nodes in your DT. And then additionally redirect out of LeadsHook when the countdown completes. Here’s the code: Simply copy paste the code to the HTML section in your appearance settings. You can see a working demo here: https://test2.leadshook.io/survey/z6sgiCqflG9gRYUWeia0auEwiNTJI4k4bjedAi1t You […]

Read More

How to add a timer to your Decision Tree

In contrast to a countdown timer, here we will be looking at the opposite a timer ( counter ) that works like a stopwatch. The code looks like this: Simply copy paste the code to the HTML section in your appearance settings. You can see a working demo of this here: https://test2.leadshook.io/survey/ex8YutWr2DAW05wd5vmB18OMAeyreLfUPiedaKWh

Read More

Capture the referral URL

In some cases, you may want to capture the referring URL. If embedded this will be the URL of the landing page where the Decision Tree is embedded. Say you have 3 URL’s with one Decision Tree. In this case you would have the need to determine which URL was accessed. This can be accomplished […]

Read More

How to calculate open hours

If you want to split your Decision Tree into available hours of work and unavailable hours, we need to create a custom field, use some JavaScript for the time, and then use this field in a decision node. Create a number custom field called hour 2. Copy paste this script into any node 3. Now […]

Read More

How to create a phone call button

Sometimes you might like your users to make a phonecall to any phone number. On a mobile device it will dial straight out. And on a desktop you will be presented with options. Say you have Skype setup for example. Its actually easier than you think. You simply need to add this HTML code to […]

Read More

How to calculate the day of the week

In some circumstances you might want to split your Decision Tree into different paths based on the day of the week. So for example Monday through Friday when you are available. While also at weekends when you are not available. create an answer text custom field called ‘weekday’. 2. Add this script to any node […]

Read More

Custom phone number formats

Custom field formats We recently introduced new custom field options when working with phone numbers. {mobile|national} is the default. Its the phone number minus the + symbol and minus the international code {mobile|international} is used when you need the number with + symbol and with the international code. Scripted format For some of our users […]

Read More

How to use Dates and Time Custom Fields in Your Decision Trees

In this article, you’ll learn about the various ways you can save dates, times and perform calculations. Please note: Be sure to use the CORRECT type of field. You should use date, time or date&time custom fields. Add scripts on node… 1) Save Today’s Date Into a Field Add this script on the node… 2) […]

Read More

How to Setup Jornaya – LeadId inside LeadsHook

In this article, you’ll learn how to setup Jornaya-LeadId inside LeadsHook. Learn more about meeting your TCPA compliance using Jornaya-LeadsId here: https://www.jornaya.com/the-data/leadid/ First copy/paste your leadID script into the global level or decision tree level scripts section. 2. Create a custom field called “leadid_token” ( Type: text, visible: no, required: no ) 3. Copy /paste […]

Read More

How to Setup TrustedForm by ActiveProspect

In this article, you’ll learn how to add TrustedForm by ActiveProspect to your decision trees… Learn more about meeting your TCPA compliance requirements using TrustedForm here: https://activeprospect.com/products/trustedform/ Copy/paste the trustedform script into the decision tree level, or global level script section. It should be above the </body> tag Note I have modified the field variable. […]

Read More