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

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

Introduction: 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. Step-by-Step Instructions: Step 1. Simply copy paste the below code to the HTML section in your appearance settings. Here’s the code: Step 2. Copy […]

Read More

How to add a timer to your Decision Tree

Introduction: 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

How Capture and Save Http Header Information Into Custom Fields

In some cases, you want to capture http header information into a custom field. Here’s an example to save 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 […]

Read More