Introduction

Understanding URL parameters

You may configure your decision tree to accept URL parameters from referring URLs, such as coming from Facebook, Google paid ads, and save that information.

You should create URL parameters (e.g. UTM parameters) as answer or form custom fields. LeadsHook will save the values into those custom fields.

URL parameters are set up with the following syntax:

variable=value

E.g. adset_id=1233456789

adset_id is the variable
1233456789 is the value

Step by Step Instructions

Incoming URL parameters

1. How to create and add a Custom Field

The custom field type should be “text”:

Here is how you should create the custom fields:

For example http://www.abcppc.com/?utm_source=Chicago%2BTribuneutm_medium=Newspaper%2BOctober&;;
utm_campaign=Chicago%2BPPC%2BSale

In this case, you should create 3 custom fields, and you can name them exactly as:
utm_source
utm_medium
utm_campaign

Chicago%2BTribune, Newspaper%2BOctober and Chicago%2BPPC%2BSale are variables that will be replaced by the traffic source.

If the traffic course allows you to add variables, you should add variables. If you want to pass text or values, then simply add them, just like in the URL above.

Warning: Please be sure to remove or add the trailing /, if it does not work.
e.g. mydomain.com/? and mydomain.com?

There is no need to add custom fields to a start page. As long they exist in Leadshook, it will work.

You can pass as many URL parameters as you want from any traffic source.

As long as the variable names exist inside LeadsHook, the data will get saved into the respective fields.

domain.com/?utm_source=source&utm_medium=medium&utm_campaign=name&utm_term=term&utm_content=content

Then, simply make sure you have the following custom fields setup:

utm_source
utm_medium
utm_campaign
utm_term
utm_content

Because LeadsHook has ZERO limits on the number of custom fields you can create you also pass additional details, such as:

ad_id
ad_appeal
adset_bidding
conversion_goal

Simply create the custom fields and your data will be saved into the respective custom fields. LeadsHook will grab the data even when embedded.

Your URL to the page where you embedded your decision tree will look like this:

domain.com?utm_source=source&utm_medium=medium&utm_campaign=name&utm_term=term&utm_content=content&ad_id=ad_id&ad_appeal=ad_appeal&adset_bidding=adset_bidding&conversion_goal=conversion_goal

Note: If the parameters are dynamic like ValueTrack, then be sure to add the traffic sources dynamic params like {source}. This way your traffic source will replace the params with values and pass those to your webpage.

Outgoing URL Parameters

To pass data back out add the custom fields into your existing URL.

The only change is now the custom field will be used as a value instead of the variable. The variable you use will be whatever your next platform or app uses.

exit-domain.com/?variable1={leadshook_customfield1}&variable2={leadshook_customfield2}&variable3={leadshook_customfield3}

See More 

Form and Answer Custom Field type: text

Leave a Reply

Your email address will not be published. Required fields are marked *