How to Save Google’s Client ID in a Custom Field

In this article you’ll discover how to capture google’ cookie and save client id into a custom field. REQUIRED: STEP 1: Please ensure GA has been setup correctly. STEP 2: Add script to first node and fire on entry as shown below. This will save clientid from Google’s cookie into the custom field, ‘clientid’. STEP […]

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

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 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. Follow these simple steps to verify your domain… Log into Facebook Business.   Login […]

Read More

How to Build a Calculator With Custom Page Nodes

In this article, you’ll learn how to use custom page nodes to save data into custom fields and then use the custom fields in a JS function. Test the decision tree here: https://marketing.leadshook.io/survey/S1TcY06gDUM0KhMw5tefPVp3zmEjJ6xvn7a8EFGw PLEASE NOTE: When IMPORTING a Decision Tree that contains custom page nodes with custom fields, then you MUST create the corresponding custom […]

Read More

Using LeadsHook API

PLEASE NOTE: This API document is NOT for LeadsHook’s API and Webhook nodes. The LeadsHook API is designed so you send and grab data directly out of LeadsHook using another app or server. Working with APIs is best done with the help of a developer The LeadsHook API is mainly used to ‘grab’ your data […]

Read More

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

Read More

How to Setup “Custom Page” Node

In this article, you’ll get an overview of what is a custom page and how to set it up inside your decision tree. PLEASE NOTE: Custom Page node requires expertise in html, css and javascript. LeadsHook support is limited to the custom page node functionality. We do not provide support for custom code and scripts. […]

Read More