In this article, you’ll learn how to set up your tracking in less than 3 minutes! Google Ads, Google Analytics 4, Facebook, Twitter, TikTok & Microsoft Ads! You’ll discover how to access your automagically created Google Tag Manager container from your LeadsHook Account. All you need to do is upload and publish. Please watch the […]
Articles Tagged: script
How to add an auto-next script with a delay
Version 1: Simply add the script below to the body of your node. Version 2: Use the code below for version 2. Set Delay Timeout: You can change the time delay by updating the set timeout time to the desired millisecond time. Please refer to the screenshot below.
Align the image either left or right on the answer button
There are no settings or options to put the image side by side with the text on the answer button, however, a little CSS should do the job. Here is the CSS code: And here is the code explanation. Please feel free to adjust the code according to your needs. And here is the final […]
How to add a tooltip
In this article, you will learn how you can add a tooltip. A tooltip is often used to specify extra information about something when the user moves the mouse pointer over an element. LeadsHook provides 2 options to add a tooltip in a node. First Option: Using node level script To add a script at […]
How to add CSS to a node
Its possible to modify the visual aspect of any given HTML in a node. As we are scripting, we should really do a comprehensive course on HTML & CSS first. I recommend the official W3C tutorial online: https://www.w3schools.com/ Once we understand that it will be relatively easy to modify the design of HTML elements in […]
Limit the number of checkbox choices
Sometimes you might need to set a maximum number of available choices when using checkboxes. For example if you had eight choices and you only wanted a max of three of them accepted! For this purpose we will use some custom JavaScript to count how many checks are allowed. Using the custom page node, the […]
How to Setup Pop-Up Poll Campaign Using Custom Page Node
Please Note: Custom Page node requires advance technical skills so is best managed with a developer .In this article, we’ll share an example of the use of custom page node to create a poll with a pop-up form. The answer selected is also saved into a custom field. NOTE! The DT.setField function is sitting at […]
A simple way to prevent searching engines from indexing your decision tree
To prevent most search engine web crawlers from indexing your decision tree, Add the following script under admin and use it for any/all DTs you want. To prevent most search engine web crawlers from indexing a page on your site, place the following meta tag into the <head> section of your decision tree: To prevent […]
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. When using real time address […]
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. BACKGROUND In some cases you […]