Do calculations using a script

You might be aware of the calculation custom field. It exists so that you can do custom calculations However, its also possible to do calculations using JavaScript In a Q&A node, add a script Give it a name, for type choose script, and set it to fire on exit of the node Inside the script […]

Read More

Change the DT title using a script

Normally the project name will be the DT title. The DT title is the text that appears in the browser tab. However, its possible to override this using a script You could change the title at any time. For example node by node. In this example we will change the title for the whole DT […]

Read More

How to Send Your Leads From LeadsHook to Go High Level

In this article you’ll discover how to send leads to Go High Level using Webhook Node. Special thanks to Rob Olsen who has provided much of the content shared on page. Please see the accompanying detailed notes below as well… Video Instructions: Download Sample Decision Tree: https://drive.google.com/file/d/1beSF0w5bX5IoBaNgW2rvdRZfot5WtBn-/view?usp=sharing REQUIRED LeadsHook Account GoHighLevel Account Access Website.hook (or […]

Read More

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

If you are keen on using the header/footer settings, you probably are aware that you can frame your DT with a menu and custom style too. Normally these menu items are external links, leading out of LeadsHook. However, its actually possible to link to the second node of any DT using the script below. This […]

Read More

Using Google Sheets as a lookup table

Its possible to use server side javascript to process an API call in LeadsHook Basically you send a request to the GS server with a parameter to search with. Then the script will search a given column where the parameter matches. When it finds the matching column value – the whole row is retrieved, converted […]

Read More

How to Fire Pixels and Events Based Specific Conditions

LeadsHook provides a great UI for creating your Decision Trees. There are countless features that makes server side scripting easy. Additionally, power users might be glad to know that it’s also possible to go low level and use any HTML/CSS/JS that you might like. In this example we will be showing you how to create […]

Read More

Anti Spam/Abuse verification Dialog

You may already be aware of Google Re-Captcha. Many websites use it to fight spam and abuse. In LeadsHook its possible to create your own anti spam/abuse verification dialog using JavaScript. Google Re-Captcha is fairly ugly and doesn’t blend well with the underlying theme of a site. Using your own dialog allows you to customize […]

Read More

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