
- ClickFlare → Pipedrive: ClickFlare passes its click ID to your page, and the lead or deal is created with the click ID in a custom field.
- Pipedrive → ClickFlare: when the deal reaches the stage you choose, a Pipedrive automation sends a webhook to ClickFlare with that click ID and the deal value.
At a glance
To set up Pipedrive with ClickFlare:- Create conversions, campaign and offer.
- Create the click ID custom field.
- Get the click ID into the field.
- Create the automation webhook.
- Build the automation and test.
How the data flows
What you’ll need
- A ClickFlare account with your own tracking domain. See Tracking domains.
- A Pipedrive plan with automations. Pipedrive’s article says automations and webhooks in automations are available on Advanced and higher plans; regular webhooks are on all plans. Pipedrive has recently renamed its plans, so check yours.
- Global admin rights to create the automation webhook, and permission to add custom fields.
- A way to get the click ID into Pipedrive with the lead. See the setup step for the options.
Setup
Set up your own tracking domain
trk.yourdomain.com, under Tracking domains. The Pipedrive webhook points at it.Create a custom conversion for each stage
ct value Pipedrive sends. It must match exactly. See Custom conversions.Create the campaign and add your page as the offer
Create the click ID custom field
Get the click ID into the field
cf_click_id from the page URL into a hidden field and send it with the lead. Pipedrive users report that Pipedrive’s own web forms don’t capture URL parameters into hidden fields, so check your current web forms first. The common setups are:- A form on your page (or a form builder) with a hidden field, sending submissions to Pipedrive through Zapier, Make or n8n, which create the lead with the custom field filled.
- Your own backend creating the lead through the Pipedrive API with the custom field’s value.
Create the automation webhook
- Name: something you’ll recognize in the automation, for example “ClickFlare postback”.
- Endpoint URL:
https://trk.yourdomain.com/
/, &, ? or =. Enter the base domain with a trailing slash and add the path in the automation. No authentication is needed.Build the automation
- Webhook: the automation webhook you created.
- Method: POST.
- Body: choose Key-value and add:
- Path:
cf/cv, so the request goes tohttps://trk.yourdomain.com/cf/cv.
cf_click_id, ct, payout, txid and param1 to param20 from a JSON body:Turn the automation on and test
When you need a relay instead
Pipedrive’s automation webhook sends POST, PUT or DELETE only, so it can’t call ClickFlare’s GET postback. Put a relay in between when:- The execution history shows a body that isn’t plain JSON with your keys.
- Your plan has no automations.
Stages, payout and duplicates
One stage, onect. A conversion with a different ct on the same click is added as a new conversion. A deal that is created, qualified and won shows once in each of the three columns, so you see cost per lead and cost per won deal side by side.
Payout from the deal value. Map payout to the deal value on the won webhook only. Send 0 on earlier stages so revenue isn’t counted twice.
Repeats. Without txid, a second won on the same click counts as the same conversion. That protects you if a deal is reopened and won again. If one click can lead to several separate deals, add the deal ID as txid in the body so each counts.
Choose what the ad platform sees. Each custom conversion is mapped to the traffic source postback separately, so you can send only won to the ad platform.
Execution limits. Automation webhooks count toward Pipedrive’s automation execution limits. When the limit is reached, Pipedrive pauses webhook requests, and conversions arrive late or not at all. Watch this on busy pipelines.
Verify the setup
Click through the campaign
cf_click_id= and a real click ID, not the text {cf_click_id}.Submit the form
Win the deal
cf/cv.Check ClickFlare
ct set to won and the deal value as payout.Send ClickFlare conversions to Pipedrive (optional)
To go the other way, for example to add a note to a deal when ClickFlare records a payment from your checkout, use the Custom Webhook integration. Go to Integrations → Conversion API → New integration, choose Webhooks, map the event, choose POST and put macros such as{cf_click_id} and {payout} in the body.
Pipedrive has to find the deal by the click ID first. A relay such as Zapier, Make or n8n can receive the webhook, search deals by the click ID field and update the one it finds.
Troubleshooting
Pipedrive won't save the endpoint URL
Pipedrive won't save the endpoint URL
/, &, ? or =. Use https://trk.yourdomain.com/ and put cf/cv in the action’s path.I can't add the webhook action to an automation
I can't add the webhook action to an automation
The automation ran but no conversion shows
The automation ran but no conversion shows
- The path is missing, so the request went to the domain root instead of
/cf/cv. - The key is
click_idinstead ofcf_click_id. JSON bodies usecf_click_id. - The custom field was empty on that deal.
- The
ctvalue doesn’t match a custom conversion’s parameter exactly.
The automation failed
The automation failed
FAQ
Does ClickFlare integrate with Pipedrive?
Does ClickFlare integrate with Pipedrive?
Can I track the form fill without Pipedrive?
Can I track the form fill without Pipedrive?
ct=lead, and use Pipedrive automations only for later stages.Where do I store the click ID, on the deal or the person?
Where do I store the click ID, on the deal or the person?
Can I send more data, like the pipeline or owner?
Can I send more data, like the pipeline or owner?
param1 to param20 as keys in the body and map them to fields. ClickFlare stores them with the conversion.No automations on my plan. What else?
No automations on my plan. What else?