← All Guides

Pipedrive Web Forms Conversion Tracking with Google Tag Manager: GA4, Google Ads and Offline Conversions

Pipedrive LeadBooster web forms load in an iframe, which hides submissions from GTM. Learn the redirect method, the parent-page message check, and how to carry the Google click ID into Pipedrive so you can upload won deals as offline conversions.

Atiqul Islam
Written by Atiqul Islam

Tracking & analytics specialist. 278+ GTM, GA4 and server-side tracking projects for clients in the US, UK and Australia.

Rather not do this yourself? I set this up for clients every week. Free 15-minute audit, no obligation.

Book a Free Audit

Pipedrive's LeadBooster web forms are a convenient way to drop leads straight into the CRM, and a frustrating thing to track, because the form renders inside an iframe served by Pipedrive. Your site's Google Tag Manager sees a visitor arrive and leave, and nothing in between.

The good news is that Pipedrive is a CRM, which means the most valuable tracking is not the form submission at all. It is the deal that gets won three weeks later. This guide covers how to track the submission as reliably as possible and, more importantly, how to connect the Google Ads click to the won deal.

Step 1: Decide on the Submission Method

Pipedrive web forms offer a confirmation message or a redirect to a URL after submission. For tracking, use the redirect.

The redirect method is dependable and works regardless of embed version, so it is the default I use.

Step 2: Carry the Google Click ID Into Pipedrive

This is the step that makes the rest of the account measurable.

  1. In Pipedrive, add a custom field named gclid to Persons or Deals, whichever your web form creates.
  2. In the web form, add that field and mark it hidden.
  3. On your website, store the gclid URL parameter in a first-party cookie when a visitor arrives from an ad. A small Custom HTML tag in GTM on All Pages does this.
  4. When rendering the form embed, append the stored gclid to the form URL as a parameter that matches the hidden field, so Pipedrive prefills it. Check Pipedrive's web form documentation for the exact prefill parameter format for your form version.

Now every lead created from the form carries the click that produced it.

Step 3: Tags on the Thank-You Page

If you pass the email through the redirect URL, read it with a URL variable into a User-Provided Data variable for Enhanced Conversions, then clear the parameter with history.replaceState.

Step 4: Offline Conversions From Won Deals

  1. In Google Ads, create an Import from clicks conversion named Deal Won, with the value from the upload and a 90 day window.
  2. Weekly, export won deals from Pipedrive with the gclid field, the won date and the deal value. Pipedrive filters and exports make this a two minute task, and tools such as Zapier or Make can automate it into a Google Sheet.
  3. Upload under Goals, then Conversions, then Uploads, or connect the Google Sheet on a schedule.
  4. After a month of uploads, set Deal Won as the primary conversion and demote the form submission to secondary.

Enhanced Conversions for Leads is an alternative when the click ID did not survive: upload won deals matched by hashed email instead.

Step 5: Test

  1. Arrive on your site with ?gclid=test123. Confirm the cookie is set.
  2. Submit the Pipedrive form. Confirm the thank-you page loads and GA4, Google Ads and Meta each fire once. Check the Google Ads request in a tag debugger such as the Insighter Debugger extension.
  3. Open the new Person or Deal in Pipedrive and confirm the gclid field shows test123.
  4. After your first upload, check the match rate in Google Ads. Below 70 percent means too many leads are missing the click ID.

Common Problems

Summary

Treat the Pipedrive form submission as a convenience metric and the won deal as the real conversion. Capture the click ID at the start, carry it into Pipedrive, and upload won deals weekly. Within a month your Google Ads account will report cost per won deal and revenue by campaign, which is what a CRM-driven business should be optimising for.

Frequently Asked Questions

Why does my GTM form trigger not fire on a Pipedrive web form?

The form is rendered inside an iframe from pipedrive.com. Your page's GTM cannot see events inside it. You need a redirect to your own thank-you page, or a message from the iframe that you can listen for.

Can I get Enhanced Conversions from a Pipedrive web form?

Only through the redirect method, where you pass the email as a URL parameter to your thank-you page, or by uploading won deals with the email as an Enhanced Conversions for Leads upload. The iframe does not expose field values to the parent page.

How do I get the Google click ID into Pipedrive?

Add a custom field for gclid to the Person or Deal, add a matching hidden field in the web form, and populate it by appending the gclid as a URL parameter to the form embed. Pipedrive web forms can prefill fields from URL parameters.

Should I track form submissions or won deals in Google Ads?

Both. Track submissions as a lead conversion for volume, and upload won deals from Pipedrive as an offline conversion with the deal value. After a month, make the won deal the primary conversion.

What about the Pipedrive chatbot and live chat?

Chat leads do not pass through the web form. Track them separately through the chat widget's events or import them from Pipedrive with the offline upload.

Want This Done Right the First Time?

Book a free 15-minute audit call. I'll review your setup, show you what is broken, and tell you exactly what it takes to fix it.

Chat Now