Share this guide
Webhook

Send web conversions from a Custom Webhook

Use a web Custom Webhook for conversions that happen in a visitor's browser on a tool we don't integrate with natively, like a custom form, demo request, or signup flow. FunnelTrack ties each event back to the visitor's session, adds the click IDs, cookies, geo, and device data the pixel captured, and sends the conversion to your ad platforms server-side.

Before you start

  • Custom Webhooks are a Pro feature.
  • The FunnelTrack pixel must be installed on the pages where the conversion happens. Web events match to the visitor through the pixel's session ID.
  • Connect the destinations you want to send to (Meta, Google Ads, GA4, and so on) in Integrations.
  • Check that we don't already have a native integration for your tool. Native integrations handle the setup below for you.
Is this a web event?
Web events happen while the visitor is on your site, such as a form fill or trial signup. If the event comes from your CRM or back office later (a deal won, a contract signed), use the offline guide instead.

Set up the webhook

1

Create the webhook

In FunnelTrack, open Webhooks in the sidebar and click + New Webhook. Fill in the form:

SettingWhat it does
NameHow the webhook shows in FunnelTrack and the Event Delivery Log, e.g. “HubSpot Deal Won”.
Event TypeThe conversion this webhook represents (Lead, Complete Registration, Start Trial, Schedule, and so on). Pick Custom Event… to type your own name.
DescriptionOptional note for your team.
Action SourceChoose Web. The event happened in a visitor's browser session.

Not sure which type you need? A form fill, demo request, or signup the visitor completes on your site is web. A CRM stage change, signed contract, or back-office update is offline.

Create Webhook form with Action Source set to Web
2

Copy the webhook URL into your app

Each webhook gets its own unique URL. Copy it and paste it into the system that will send the event: your CRM's webhook action, Zapier (Webhooks by Zapier → POST), Make (HTTP module), n8n (HTTP Request node), or your own code. Send the event as a JSON POST.

Keep the URL private
The URL is the credential. Anyone with it can send events to this webhook, so don't publish it in front-end code you don't control.
Webhook URL card with the Copy URL button

For example, in Zapier add a Webhooks by Zapier step with the POST action after your trigger, paste the FunnelTrack URL, and set Payload Type to Json.

Zapier Webhooks by Zapier POST step after a Duda form trigger
Zapier POST step with the FunnelTrack webhook URL and JSON payload type
3

Send a test event and check for data

Trigger a test event from your app, then click Check for Data. When FunnelTrack receives it, you'll see Data received! and can open View sample payload. Every field picker in the steps below lists the fields from this sample, so send a test that includes every field you plan to map.

Use the refresh button to pull in a newer payload if you change what your app sends.

Check for Data with a sample form payload including ft_sid and ft_uid
4

Map the FunnelTrack Session ID (required)

Every web event must include the pixel's _ft_sid value. FunnelTrack uses it to match the event to the visitor's session and inherit every click ID, cookie, geo, and device signal the pixel captured. You can't activate a web webhook without this mapping.

If your webhook comes from a form, add this hidden field to the form. The pixel fills it in automatically:

<input type="hidden" name="ft_sid" data-custom-type="ft_session_id">

If your webhook is sent from your own code, read the _ft_sid cookie and include it in the payload. The best practices guide has JavaScript, PHP, Python, and Node examples, plus how to handle cross-domain handoffs.

Then pick the payload field that carries the value and click Save Session ID Mapping.

FunnelTrack Session ID mapped to the ft_sid payload field

Deduplication Key (optional, recommended)

Map a value that is unique per event, such as a submission ID, appointment ID, or record-change ID. Don't use a customer or contact ID, since one customer can convert more than once. If the same key arrives again after the event was delivered, FunnelTrack skips the duplicate instead of sending another conversion to every destination.

This protects you from double-counting when a form or app retries a webhook.

Deduplication Key mapped to the submission id
5

Map user data

Map the identifying fields in your payload once. FunnelTrack applies them to every destination automatically. For each row, pick the FunnelTrack field on the left, then the payload field it comes from on the right.

Field groupFields
IdentityEmail, Phone, External ID (CRM or user ID)
NameFirst Name, Last Name, Full Name
DemographicDate of Birth (YYYYMMDD), Gender (m/f)
AddressStreet Address, City, State / Region, Zip / Postal Code, Country (2-letter ISO)
SessionIP Address, User Agent, Event Timestamp, External Event ID
CustomCustom parameter… lets you name your own field.
Row controlWhat it does
Field / StaticPull the value from a payload field, or switch to a fixed value sent on every event.
TransformOptionally lowercase, uppercase, trim whitespace, or convert a date to UNIX seconds.
Req / OptMark a field required to fail the event when it's missing, or leave it optional.

Email and phone give the strongest match. IP address and user agent help too if your payload includes them. Values can be plaintext or SHA-256 hashed; see the payload best practices for formatting.

Value and currency aren't mapped here. They go in each destination's Event Parameters in the next step.

User Data mapping for full name, email and phone
Transform options on a User Data row
Optional: transform a value before it's sent.
6

Route to destinations

Turn on each ad or analytics platform that should receive this event. A destination must be connected in Integrations first; click Connect if it isn't. Each enabled destination counts as one event delivery.

SettingWhat it does
Event nameThe event to send to that platform. Most platforms use an event dropdown. Google Ads needs the conversion name and conversion action ID from your account, LinkedIn needs the conversion rule ID, and Microsoft Ads takes an event name plus an optional category, label, and action.
Click IDsUsually not needed. Web events inherit click IDs from the visitor's session. Map them only if your payload carries them, e.g. gclid or fbc.
Event ParametersPlatform-specific parameters such as value, currency, and plan or lead type. Pick from the dropdown or choose Custom… to add your own.
Route to Destinations with Meta Lead and a custom event parameter, plus Google Ads
Google Ads click ID options: gclid, wbraid, gbraid
Optional: map click IDs if your payload carries them.
7

Add conditions (optional)

Conditions decide which incoming events get processed. Leave them empty to process every event. Each condition compares a payload field to a value, using operators like equals, contains, starts with, greater than, matches RegEx, or exists.

Conditions inside a group are combined with AND (all must match). Separate groups are combined with OR (any group can match). For example, send only when status equals won AND amount is greater than 0.

8

Activate the webhook

Click Activate Webhook. From then on, incoming events run through your mappings and conditions and go to your destinations. Test data sent before activation doesn't appear in reports. You need a sample payload and a FunnelTrack Session ID mapping before you can activate.

Use Pause Webhook to stop processing without losing any settings. The Stats card shows how many events were received, processed, and failed. Check the Event Delivery Log to see each delivery per destination.

Verify it's working

Submit a test, then open the Event Delivery Log. With the direction set to Inbound, the event shows under your webhook's name.

Inbound Duda Lead Form event in the Event Delivery Log

Switch to Outbound to see one delivery per destination with a delivered status.

Outbound deliveries to Meta and Google Ads marked delivered

More Custom Webhook guides

Need a hand? Back to Help.