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.

Read More

How to Setup TrustedForm by ActiveProspect

In this article, you’ll learn how to add TrustedForm by ActiveProspect to your decision trees… Learn more about meeting your TCPA compliance requirements using TrustedForm here: https://activeprospect.com/products/trustedform/ STEP 1. Copy/paste the trustedform script into the decision tree level, or global level script section. STEP 2. Create a hidden custom field – “xxTrustedFormCertUrl” and “xxCertUrl” STEP […]

Read More

How to Add Click-to-Call Button

HTML5 includes a protocol for making an element clickable and opening the phone app and adding the number to call. This makes it very easy to add a Click-to-Call button in your Decision Tree. Take note, make sure to include target=”_blank” as this is the only way that this would work for IOS users. The […]

Read More

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

Read More

How to Pass Data Using setCookie & grabCookie Functions

This guide is provided without our free support because setups vary from business to business. This guide is for a technical audience. Please contact us if you need our technical and development services. In this article, you’ll learn how to pass any data through a cookie. Step 1: Add a script in the node where […]

Read More

How to Calculate Time Spent in a Node

In this article, you will learn how to calculate the time spent in a node. Step 1: Create custom fields Create a custom field for the timestamp on node enter. Create a custom field for the timestamp on node exit. Create a calculated custom field for the time spent. Please do not forget to include […]

Read More

Passing Data from Your Website Directly to LeadsHook!

This guide is provided without our free support because setups vary from business to business. This guide is for a technical audience. Please contact us if you need our technical and development services. In this article, you’ll learn how to pass any data from your website to LeadsHook as a custom field. You can pass […]

Read More

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

Read More