How Capture and Save Http Header Information Into Custom Fields

In some cases, you want to capture http header information into a custom field. Here’s an example to save the referring URL. If embedded this will be the URL of the landing page where the Decision Tree is embedded. Say you have 3 URL’s with one Decision Tree. In this case you would have the […]

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