How to create a phone call button

Introduction: Sometimes you might like your users to make a phonecall to any phone number. On a mobile device it will dial straight out. And on a desktop you will be presented with options. Say you have Skype setup for example. Its actually easier than you think. You simply need to add this HTML code […]

Read More

How to calculate the day of the week

Introduction: In some circumstances you might want to split your Decision Tree into different paths based on the day of the week. So for example Monday through Friday when you are available. While also at weekends when you are not available. Step-by-Step Instructions: Step 1: Create an answer text custom field called ‘weekday’. Step 2: […]

Read More

Custom phone number formats

Introduction: Custom field formats We recently introduced new custom field options when working with phone numbers. {mobile|national} is the default. Its the phone number minus the + symbol and minus the international code {mobile|international} is used when you need the number with + symbol and with the international code. Scripted format For some of our […]

Read More

How to use Dates and Time Custom Fields in Your Decision Trees

Introduction: In this article, you’ll learn about the various ways you can save dates, times and perform calculations. Please note: Be sure to use the CORRECT type of field. You should use date, time or date&time custom fields. Add scripts on node… Important: DT.setField function cannot be used on the last node for V2 DTs. […]

Read More

How to Setup Jornaya – LeadId inside LeadsHook

Introduction In this article, you’ll learn how to set up Jornaya-LeadId inside LeadsHook. Learn more about meeting your TCPA-compliant lead generation requirements using Jornaya-LeadsId here: https://www.jornaya.com/the-data/leadid/ Step-by-Step Instructions: Step 1: First copy/paste your leadID script into the global level or decision tree level scripts section. Note: If you place the script at the global level, […]

Read More

How to Pass a Parameter From a Script to a Custom Field.

Introduction: If you use custom scripts, sometimes you will want to pass a scripted variable to a custom field. You’ll also learn see a script with conditions where you can update the value of a custom field after comparing 2 values. Important: DT.setField function cannot be used on the last node for V2 DTs. The […]

Read More

How to Save Tracking & Sub IDs Quickly & Easily

Introduction: This guide provides a process for storing your third-party tracking and sub-IDs into LeadsHook custom fields. By the end, you’ll understand how to save these IDs and how to store your exit URL along with custom fields to pass it to your Email Service Provider (ESP). Important: DT.setField function cannot be used on the […]

Read More

How to Add a Delay Before Redirecting to an External Page

Introduction: This guide illustrates how to add a delay before redirecting users to an external page in LeadsHook. By implementing the provided script, you can improve user experience and provide necessary notifications before redirection. Step-by-Step Instructions: Add the Following Code as shown below Note: The numeric value (2500) in the script determines the delay before […]

Read More

How to Directly Integrate Google Analytics

Introduction: This guide covers two methods for direct integration of Google Analytics with LeadsHook – Global Scripts installation and Decision Tree Level installation. Warning! The preferred approach is to use Google Tag Manager because of cross domain tracking issues with direct Google Analytics integration. Please watch this video to learn why you should be using […]

Read More