How to Pass your Decision Tree Tags via API or Webhook

Introduction You can now send all your Decision Tree Tags via API or Webhook You can use {_lead_tags} for sending them as a string with comma separated tag values or you can also use {_lead_tags_array} to send them as an array. NOTE: {_lead_tags_array} should not be enclosed with ” ” as it needs to be […]

Read More

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

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 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 Build a Calculator With Custom Page Nodes

Introduction 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/s/S1TcY06gDUM0KhMw5tefPVp3zmEjJ6xvn7a8EFGw PLEASE NOTE: When IMPORTING a Decision Tree that contains custom page nodes with custom fields, then you MUST create the corresponding […]

Read More

Ontraport API

Step 1: Get your API key Step 2: Get your App ID These credentials can be requested in your Administration settings.  To setup the webhook ( or api ) node in LeadsHook Step 3: Now add a webhook node ( or api node ) onto your canvas We need to set it up like so: Title: […]

Read More

Change the DT title using a script

Introduction Step-by-Step Instructions: In the DT level scripts: Step 1: Create a new script above the closing </head> section Step 2: Simply copy this code: Change the text in double quotes to be your new title.

Read More