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 […]
Category: Decision Tree
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 […]
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 […]
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 […]
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 […]
How to Transfer Leads to FLG
Introduction In this article you’ll learn how to transfer leads to FLG Assumptions: Please find sample payload below. Please add more fields as required.
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 […]
A simple way to prevent searching engines from indexing your decision tree
I. 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. II. 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: […]
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: […]
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.