Introduction: Step-by-Step Instructions: Step 1: Simply create a text field called ‘timestamp’ Step 2: And then copy/paste this code into a node script (Run on exit) You can get a list of supported time zones here: https://www.w3schools.com/php/php_ref_timezones.asp Remember you need to publish and access via direct link/embed (because scripts will not fire in preview)
Category: Custom Fields
How to Setup Pay Ringba Per Call Campaigns Inside LeadsHook
In this article you’ll learn how to setup Pay Per Call Campaigns using Ringba. We are showing you how to setup Ringba campaigns using Serverside script. We used the clientside version but we found there was a latency when using a number pool. You can see the phone number change in realtime. This ‘flashy’ experience […]
Mapping Google Address API Fields to Leadshook Custom Fields
This article provides an example decision tree, which already has the Google Address API fields mapped to the corresponding LeadsHook custom field. For your convenience, you can import the provided example decision tree into your account so you can access all the pre-mapped custom fields without having to create them manually. How to Import Decision […]
How to create Ad Networks Field
Introduction Currently the fields are not existing in Leadshook, you may have to create the fields exactly the same in the guide links for each app below. Please check this article on understanding URL parameters: https://www.leadshook.com/help/how-to-use-url-parameters/ Step by Step Instructions on how to create a custom field inside LeadsHook Go to ‘Admin‘ Select ‘Custom Fields‘ […]
How to Save Google’s Client ID in a Custom Field
Introduction: This guide will walk you through the process of capturing Google’s cookie and saving the client ID into a custom field. By following these steps, you will be able to successfully store the client ID from Google’s cookie in a custom field named “clientid”. Prerequisites: Step-by-Step Instructions: Step 1: Ensure GA Setup Step 2: […]
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 […]
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 Split First Name and Last Name
Introduction: If you are capturing the lead’s full name in one custom field and wanted to display ONLY the first name on the next node, add the below script on the node level. Please note:The example script above ‘{full_name}’ is where you are saving the leads full name. You need to replace this with the […]
Do calculations using a script
Introduction Step-by-Step Instructions: Step 1: In a Q&A node, add a script Step 2: Give it a name, for type choose script, and set it to fire on exit of the node Important: DT.setField function cannot be used on the last node for V2 DTs. Inside the script section we can define our script. For example: […]
LeadsHook Contextual Custom Fields
Introduction: LeadsHook has the following “secret” custom fields so you don’t have to enter values manually each node. LeadsHook will automatically replace the values of the CURRENT decision tree and node into these fields. And these values are automatically replaced on every node where these custom fields are used. Warning! The values of these fields […]