LeadsHook
Leadshook is a platform for creating decision trees and capturing leads. Integrating Leadshook with AnyTrack allows for accurate lead generation tracking and attribution in marketing efforts.
Overview
Leadshook is a powerful platform for creating decision trees and capturing leads. Integrating Leadshook with AnyTrack enables accurate lead generation tracking and attribution, enhancing your marketing efforts. In this article you will learn how to setup the Leadshook-AnyTrack integration and how forward the leads to the conversion API and your CRMs.
Take LeadsHook to the Next Level!
Use this integration to automatically send decision tree activity and first-party data to the Conversion APIs. A simple and reliable way to improve ad targeting and enrich audience dat
How It Works
Visitors to your Leadshook decision trees where you have installed the AnyTrack Tag will generate a PageView. Then, as they exit a node where the Webhook URL trigger is set up, they will generate conversion events such as Lead or Purchase. The event is sent to the Leadshook Integration in AnyTrack, where you can rename and remap them to your connected ad networks and analytics.
By sending this data to the Conversion API, you train the algorithm on which campaigns are converting and who your audience is. Lastly (and optionally), use the Outbound Webhooks feature in AnyTrack to send the events to your CRM if you are collecting leads with your decision trees.
Requirements
To install this integration you only need an AnyTrack and a LeadsHook account. You can complete the setup in less than an hour and no coding or advanced skills are necessary.
Setup Guide
Install the AnyTrack Pixel Helper Extension
Install the AnyTrack Pixel Helper Chrome extension to verify the AnyTrack Tag is installed on your decision tree. It also shows connected ad networks and browser-side events. Learn more.
Advanced Options Video Tutorial
Learn how to trigger Purchase events from decision trees, map conversions to Facebook Pixel, prevent duplicates, and send events to GA4 in this video.
Technical Specs
The following is a Webhook URL example. Don't use it in your setup, you will provided with your own Webhook URL during setup. The URL contains a template with placeholders that will be replaced by LeadsHook with the actual values when visitors exit the node where the trigger is installed.
https://t1.anytrack.io/xxxxxx/collect/leadshook?click_id={click_id}
&lead_id={lead_id}&first_name={first_name}&last_name={last_name}&
email={email}&score={score}&_c_dt={_c_dt}&_c_node_id={_c_node_id}
&_c_identifier={_c_identifier}&_c_eventtime={_c_eventtime}&_c_eventid={_c_eventid}
&_c_embedDomain={_c_embedDomain}&_c_embedPathName={_c_embedPathName}&_c_dt_ver={_c_dt_ver}
&_device_userAgent={_device_userAgent}&_geoip_currencyCode={_geoip_currencyCode}
&_geoip_regionCode={_geoip_regionCode}&_geoip_zip={_geoip_zip}
&_geoip_countryCode={_geoip_countryCode}&_geoip_city={_geoip_city}&lead_token={lead_token}
&impression_id={impression_id}&ip_address={ip_address}
&_tracking_embed_url={_tracking_embed_url}&_tracking__fbp={_tracking__fbp}
&event_value={event_value}&event_name_custom={event_name_custom}
Do Not Modify the Webhook URL
The webhook is predefined with all required parameters. Do not modify the parameters or tokens.
LeadsHook will send the webhook notification to AnyTrack, you can find these notification in the Event Log tab of the LeadsHook integration in AnyTrack. This is an example of a received notification from a decision tree:
{
"_c_eventtime": "1719923207",
"event_name_custom": "{event_name_custom}",
"_geoip_countryCode": "US",
"_tracking_embed_url": "https://leadshook.carrd.co/",
"score": "0",
"_c_node_id": "1395585",
"_c_embedDomain": "leadshook.carrd.co",
"_geoip_regionCode": "NY",
"_tracking__fbp": null,
"first_name": "x",
"_c_identifier": "1395585",
"_geoip_currencyCode": "USD",
"lead_id": "514364659",
"email": "[email protected]",
"_c_eventid": "1395585_514364659_",
"_c_dt": "anytrack",
"impression_id": "451438641",
"_geoip_zip": "zzzzz",
"_c_embedPathName": "/",
"last_name": "x",
"ip_address": "2.54.58.59",
"_c_dt_ver": "67",
"_geoip_city": "New York",
"click_id": "HwyEjB9nwerd5dPqqo7kOTN8VxtrhtoaHy",
"lead_token": "DJqF3EIma9nsCgeFNh2Oo3isAt5XExGFRURJbr8WiTZHO2dDe23o8TkOPiIK",
"_device_userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36",
"event_value": "{event_value}"
}
Event Mapping
By default, the Lead event triggers when a visitor completes and exits a form node in LeadsHook where the webhook URL is set up. The LeadsHook integration also allows triggering FormSubmit, CompleteRegistration, AddPaymentInfo, and Purchase events. Click here to learn how to generate these events.
Advanced Settings
Modify Event Name and Event Value
If you need to trigger different event names, you can modify the webhook event name parameter:
For example, your decision tree includes a short form that collects the email address and at the end of the decision tree, the visitor can fill additional fields such as first name, last name and phone, you might want to trigger two conversions. By default the first event will trigger a Lead
conversion and you might want to get a better visibility of your conversion funnel by triggering a different event for the long form - for example: CompleteRegistration
:
- Replace
{event_name_custom}
withCompleteRegistration
.
You might also want to give your CompleteRegistration
conversion a monetary value of 20
. If that's the case, you should update the parameter Event Value:
- Replace
{event_value}
with the value of your choosing.
Currency code:
By default AnyTrack gets the currency value from Leadshook, which derives it's value from the visitor's IP address. If you want to change this value, you can hardcode it in the webhook parameter.
- Replace
{_geoip_currencyCode}
with the currency code of your choosing - for exampleUSD
- Edit the webhook URL in Leadshook to include one of the Standard Events names.
- Update the Event mappingevent mapping in AnyTrack ads integration event mapping to reflect these changes.
Warning:
Don’t forget to update your event mapping in your ads integration to ensure accurate tracking and reporting.
What’s Next
To leverage AnyTrack tracking data in your CRM or Lead Generation platform, like Leadbyte, follow these steps:
- Include the AnyTrack click ID when pushing lead data to external platforms.
- Example for Leadbyte:
"c3": "{atclid}"
.
- Example for Leadbyte:
- Add the LeadByte integration to your Anytrack account.
- If the
c3
parameter has been sent to LeadByte it will be returned in the webhook and subsequent conversions will be tracked back to Anytrack and tied to the same campaign that brought the leads through Leadshook.
FAQ
Q1: What is Leadshook?
A: Leadshook is a platform for creating decision trees and qualifying leads.
Q2: How does AnyTrack work with Leadshook?
A: AnyTrack integrates with Leadshook so all meaningful events are being tracked via server side webhook, and attributed in Anytrack and your ad platforms.
Q3: What is AutoTag?
A: AutoTag is a feature in AnyTrack that automates the tagging and tracking of Leadshook form loading and initialization events on your website.
Q4: How do I map events in AnyTrack?
A: Go to the Event Mapping section in AnyTrack and map your Leadshook events to the corresponding AnyTrack events.
Q5: Can I modify the webhook to trigger different event names?
A: Yes, you can modify the webhook URL in Leadshook and update the event mapping in AnyTrack and your ads integration. Follow these guidelines.
Updated 3 months ago