LeadsHook

How to track lead generation campaigns from pageview, to offline conversions

LeadsHook is a Decision Tree platform (Comparable to a Quiz) that allows you to qualify, filter, and bring your leads to provide you with relevant information.

The Decision Tree is an interactive form generated through JavaScript. Therefore, there is an inherent complexity to passing live tracking data that can be further used in third-party systems such as Facebook, Google Ads, or lead management platforms such as LeadsByte.

Here is a standard flow most of our customers use to run their lead generation campaigns with LeadsHook.

 

Lead Generation Campaign on Facebook Ads

The conversion and data-flow

  1. Visitors land on your landing page
  2. Visitors Click to start the Decision Tree
  3. AnyTrack AutoTrack an OutboundClick event to your analytics and pixels.
  4. The visitor goes through the decision tree
  5. Upon form submission:
    1. AnyTrack AutoTracks the FormSubmit Event to your Analytics and ad pixels
    2. LeadsHook pushes the lead data to external tools such as:
      1. Email marketing software
      2. Lead management platforms
      3. API, Zapier, Integromat etc..
  6. When the lead is accepted by the Lead management software:
    1. The Lead Management software fires the AnyTrack Postback URL with a Lead Event
    2. AnyTrack records the Lead conversion and fires the event to your analytics and pixels
  7. When the lead is "sold" to a lead buyer
  8. The lead management software fires the AnyTrack Postback URL with a CompleteRegistration event

AnyTrack will automatically create and pass an atclid value into your decision tree. You are responsible to update the JSON payload passed to your lead management system with the atclid data (code provided below).

Setup instructions

  1. Log in to your LeadsHook account
  2. Open the Script Settings and add a new Script.
  3. Paste the AnyTrack TAG in the script settings of leadshook.
  4. Save

Passing the AnyTrack ID to your lead management system

If you are using Zapier to push your leads to your lead management system, you will immediately see the atclid parameter in your Zaps.

You will then have to map the field to the appropriate field in your lead management system.

Using LeadByte

If you are using LeadByte, you should pass the parameter to one of the additional parameters, such as c3, or you can create a custom parameter in LeadByte if you want to use it.

In the example below, you can see that we've added "c3":"{click_id}" key-value pair to the JSON file configured to be sent to LeadByte:

{
"firstname":"{firstname}",
"lastname":"{lastname}",
"email":"{email}",
"c3":"{click_id}",
"country":"{country}",
"phone":"{phone}"
}

After you pass the c3 parameter to LeadByte you should create a new LeadByte integration in AnyTrack and collect your purchases and leads directly from LeadByte.

Using AnyTrack

If you want to forward your leads directly to AnyTrack, follow the steps below:

  1. Create a custom integration (name/URL)
  2. Set the Postback placeholders according to the following guidelines:
AnyTrack Field Placeholder Meaning
click_id {atclid} The anyTrack click ID
commission 0 The value of the lead
transaction_id {lead_id} The lead ID sent by LeadsHook
brand_name {_c_dt} The decision tree name


Upon saving, you should get the following postback URL:

https://t1.anytrack.io/aXaXaXaX/collect/custom-{integration_name}?click_id={atclid}&commission=0&transaction_id={lead_id}&brand_name={_c_dt}