Introduction This message appears often enough with false positives that Norton/Symantec have a special website to report this to get your domain/site whitelisted! As a first step, please run a malware test and confirm there are no issues. If you using self-managed platforms like WordPress then these issues can happen. Use this free tool to […]
Category: Scripts
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 […]
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
How to set a Hyperlink on Text editor to skip to the next node.
Introduction ‘Was wondering if it’s possible to hyperlink text on one node, to direct people to the next node, as an alternative to clicking on the button’ Yes, it’s possible. Just use the snippet below to add ‘next’ function and example below to hyperlink text on text editor. Example:
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 […]
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 […]
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 -> […]
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 […]
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
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 […]