How to add CSS to a node

Introduction 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 […]

Read More

Postcodes.io API Integration

Please Note: This article is provided for your convenience and to make it easy to implement based on our limited experience and testing.  Ideally, you should work with your developer.  Our standard free support does not extend to custom scripts and coding. Postcodes.io is a postcode & geolocation API for the UK Postcode Lookup Video […]

Read More

Limit the number of checkbox choices

Introduction: 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, […]

Read More

Complete Guide to Scripts

In this article you’ll learn about the scripting power of LeadsHook Your biggest gains in marketing often come from testing new or even what appears as a ‘dumb’ idea. Sometimes the standard features won’t allow you to execute your test ideas. This is where you are use scripting capability of LeadsHook to implement pretty much […]

Read More

How to Troubleshoot Common Scripting Problems

LeadsHook is highly suitable for scripting via JavaScript. That includes JQuery and almost every other JS library. Here are some tips to ensure your scripts work without any issues. Loading & Firing of Node Level Scripts If you set your script to fire on enter of a node without a delay, the script will fire […]

Read More

How to Use Conditional Dropdowns in Your Decision Tree

In the short video below you’ll learn how to setup your conditional dropdown. What’s is a Conditional Dropdown? It’s a combination of dropdowns where the values available for selection change based on previous selection. Example: If you select a specific car make, say, Toyota then you’ll only its models. How to Setup a Conditional Dropdown […]

Read More

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 Introduction 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. IMPORTANT: The DT.setField function is sitting […]

Read More

How to Setup the Facebook Conversions API

In this article, you’ll learn how to setup the Facebook’s new Conversions API. We have included videos, sample scripts/code and a sample decision tree. Please import it into your LeadsHook account. >>> Warning! Please Update the Pixel IDs from the Base Pixel AND Serverside API Call from the Sample Decision Tree Provided Below <<< Assumptions […]

Read More

How to Verify Your Custom Domains

YOUR CUSTOM DOMAINS AND LEADSHOOK SUBDOMAINS CAN BE VERIFIED Introduction In this article, you’ll learn how to verify your custom domain or LeadsHook domain with Facebook. You can use the same steps to verify your domain with any other app or system. Step-by-Step Instructions: Step 1: Log into Facebook Business. Step 2: Adding Meta tags […]

Read More