ClickFunnels conversion tracking: 3 ways to do it
Learn three different ways to set up conversion tracking for ClickFunnels forms, and how to work out which one is right for you.
If you're running ads and sending people to a ClickFunnels funnel, then you need to be sending completions of your opt-in forms back to the ad platforms as conversions.
That's because ad platforms like Google and Meta use the conversion data to work out who your ideal customer is, and then they try to show your ads to more people like them. But if you're not sending accurate conversion data back, the system won't know what your ideal customer looks like, and it will just keep showing your ads to random people who aren't like to convert (which will just burn through your budget and increase your cost per lead).
So in this article, we'll walk you through three ways to set up conversion tracking for ClickFunnels, with full instructions and some free resources (a code snippet, a Google Tag Manager recipe, etc) to make each one easier.
Method 1: Send a GA4 event via Google Tag Manager
Good for: Sending opt-in events to Google Analytics 4, for free.
If you just want an event sent to Google Analytics every time someone opts in on one of your funnel steps, this is the method to use. Google Analytics doesn't need to know who opted in (unlike Google Ads or Meta Ads), only that somebody did.
ClickFunnels doesn't have a Google Analytics setting that reports opt-ins as their own event. It provides a way to add the Google Analytics script to your funnels, but nothing tells GA4 that a visitor actually opted in.
Google Tag Manager can fill that gap, but its built-in form submission trigger isn't much help because ClickFunnels sends the submission to its server in the background (rather than using the standard browser submission process that Google Tag Manager listens for).
So what you need to do instead is write some custom code that waits for ClickFunnels to confirm the submission was successful, then push an event into the dataLayer (and then you build your Triggers and Tags in GTM from that).
If that sounds technical and difficult, we've built a free Google Tag Manager recipe you can download and use, which takes all the hard technical parts out of it. Here's how it works:
Step 1: Download the ClickFunnels Conversion Tracking GTM Recipe
Start by grabbing the ClickFunnels GTM recipe from this page. Inside, you'll find:
- A Custom HTML Tag that waits for ClickFunnels to confirm it has accepted an opt-in and then pushes a
clickfunnels_form_submittedevent into Google Tag Manager. - A Variable holding the URL of the funnel step the opt-in came from, which is handy if you want to fire different tags for different steps (i.e. you want to count a conversion on your Free Consultation opt-in, but not on your Newsletter opt-in).
- A Trigger tied to the
clickfunnels_form_submittedevent, which you use to fire whatever conversion tags you build (a GA4 event, a Google Ads conversion, and so on).
Step 2: Import the GTM recipe into your account
Once you've downloaded the recipe, the next job is to get it into your container. Open Google Tag Manager, go to Admin, choose Import Container, select the file, and pick the Merge option so nothing already in your container gets overwritten. The listener, the variable and the trigger are all created in your account for you.

Step 4: Build a GA4 event tag
The recipe you uploaded earlier gives you the trigger, but you still need to create a Tag that sends the event to GA4. To do that, go to the Tags section, click New, select the ‘GA4 event’ tag and set its firing trigger to the one the recipe gives you (called CE - ClickFunnels Form Submitted).

Step 5: Test it, then mark it as a Key Event in GA4
With everything connected, the last job is proving it works. Publish your GTM container, go to your ClickFunnels page and opt in on one of your funnel steps with a test email. Then open GA4's Realtime report, and check the event turns up in the Recent Events list.
Once it's there, go to Admin, then Events, find the event in the list, and toggle it on as a Key Event. This is what tells GA4 to treat the event as a conversion in your acquisition and funnel reports.
![]()
Pros and cons
Pros:
- It's free. Google Tag Manager costs nothing and neither does the recipe.
- It only fires on a successful opt-in. So if someone mistypes their email address and gets an error, nothing is counted.
Cons:
- There's still setup work. The recipe handles the hardest part (knowing when a successful opt-in happened), but building the GA4 tag and testing it all is on you. And if you get stuck, there's nobody to ask (Google doesn't provide support for Google Tag Manager, and ClickFunnels' own docs say custom code like this is outside what its support team covers).
- Every opt-in on every step pushes the same event. The recipe does pass along the step's path, but unless you build a separate trigger for each step, an opt-in on your Free Webinar funnel lands in GA4 under the same event as an opt-in on your Book a Call funnel (with no way to tell them apart in your reports).
- The event is sent to Google Analytics from the visitor's browser, so ad blockers and privacy-focused browsers like Safari can stop it from ever reaching GA4. You can expect to lose roughly 30% of conversions (according to industry studies).
- It stops at Google Analytics. Nothing here reaches Google Ads, Meta Ads, or any other ad platform (that's what Methods 2 and 3 are for).
Method 2: Use Google Tag Manager for Enhanced Conversions
Good for: Sending Enhanced Conversions to Google Ads.
Just counting the number of opt-ins (the way Method 1 does) is enough for Google Analytics, but it won't get you very far in Google Ads.
That's because Google Ads only counts a conversion if it can match it back to the real person who clicked your ad, and to do that it needs details like their name, email and phone number sent along with the conversion.
The good news is that ClickFunnels opt-in forms are part of your funnel page, so a script running on that page can capture and send the lead's details. The tricky part is getting the right details at the right time. ClickFunnels moves the visitor on to the next step as soon as it accepts them, so you need to actually capture the details before they click the submit button, wait for the success signal from ClickFunnels, and then send them.
Here's how to set it up:
Step 1: Set up a Custom HTML Tag with the form listening code
In GTM, create a new Custom HTML Tag, paste in the snippet below, and set it to fire on the All Pages trigger.
The above code does a bunch of things:
- Checks it's running on a ClickFunnels 2.0 step. Before doing anything, the snippet looks for the tools ClickFunnels 2.0 loads on every funnel step. If they aren't there (on a Classic 1.0 funnel, for example), the script does nothing.
- Listens for when someone clicks the opt-in button. The script listens for the signal that ClickFunnels sends when the opt-in button is clicked and makes note of that attempt.
- Identifies which field is which. It looks at the visible fields on the step and identifies ClickFunnels' standard contact fields (email, first name, last name, full name and phone).
- Skips sensitive fields. Passwords, card numbers, one-time codes and anything labelled like a CVV or PIN are checked and dropped before the snippet ever looks at what's in them.
- Waits for ClickFunnels to confirm the submission was successful. Clicking the submit button doesn't mean the opt-in went through, so the snippet waits for ClickFunnels to confirm it was successful.
- Reads the details ClickFunnels accepted. Once the opt-in is confirmed, the snippet grabs the lead's name, email and phone. It checks the email looks like a real email address, and splits a Full Name field into a first and last name.
- Sends all the data to the dataLayer. Finally, it pushes a
clickfunnels_form_submittedevent into the dataLayer with the lead's email, first name, last name and phone (if your form asks for it), plus the URL of the funnel step they opted in on.
This snippet has been extensively tested and deals with a number of issues that other scripts on the internet don't, including:
Issue 1: A click on the opt-in button isn't an opt-in. Most scripts fire when the button is clicked. But if a visitor mistypes their email, ClickFunnels throws an error and doesn't accept the opt-in. And when they fix the error and click again, you get two conversions for one lead. This snippet only fires once ClickFunnels confirms the submission was successful, and only once per attempt, so one lead = one conversion event.
Issue 3: Every step has a hidden form. ClickFunnels adds a hidden form of its own to every funnel step and uses it behind the scenes. A script that counts every form on the page can count that hidden form as a second lead, doubling your numbers. This snippet never treats it as a separate conversion.
Issue 4: Full names don't match well. ClickFunnels opt-ins often use a single Full Name box, but ad platforms like Google and Meta want you to send the first name and last name separately. This snippet splits a full-name field into first and last name before it's sent, so the ad platforms get the data they need in the format they need it.
As you can probably tell from the above, this isn't a snippet we threw together for this article. It's the same logic our own conversion tracking software (Converly) uses to detect ClickFunnels opt-ins, and it's been tested against a real ClickFunnels 2.0 funnel (and used to detect thousands of form submissions for our customers).
Step 2: Create Data Layer Variables for the captured data
The snippet sends the lead's details into the dataLayer, but Google Tag Manager won't actually use them until you tell it how to pull each one out. That's what a Data Layer Variable does. You'll create one each for the email, first name, last name and phone.
To do this, go to the Variables section in GTM, click New under User-Defined Variables, choose Data Layer Variable as the type, and give it a name.
![]()
Here are the four you need.
Variable 1:
- Name: Email
- Variable Type: Data Layer Variable
- Data Layer Variable Name: email
Variable 2:
- Name: First Name
- Variable Type: Data Layer Variable
- Data Layer Variable Name: first_name
Variable 3:
- Name: Last Name
- Variable Type: Data Layer Variable
- Data Layer Variable Name: last_name
Variable 4:
- Name: Phone
- Variable Type: Data Layer Variable
- Data Layer Variable Name: phone
Step 3: Create a Custom Event trigger
With the lead's details going into the dataLayer and variables set up to pull them out, the next step is telling Google Tag Manager when to use them. That's what a Trigger is for. It watches for the event the snippet sends into the dataLayer (called clickfunnels_form_submitted), and tells your conversion tags to fire when it arrives.
To set it up, go to the Triggers section, click New, choose the Custom Event type, name it ClickFunnels Form Submission, and set the event name to clickfunnels_form_submitted (it has to match what the code pushes exactly).
![]()
Step 4: Turn on Enhanced Conversions in Google Ads
Before any of this data can reach Google Ads, Google Ads has to agree to accept it. To set that up, head to your Google Ads account, go to Goals, then Conversions, then Settings, and turn on Enhanced Conversions.

When it asks how you want to implement it, choose Google Tag Manager. That gives Google Ads permission to receive and use the customer data you're about to send.
Step 5: Create your Google Ads conversion tag and map the data
The final step is to create a Google Ads conversion tag in your account. This is what actually sends the conversion to Google Ads. It fires on the Trigger you created in Step 3 and passes through the data from the Variables you set up in Step 2.
To build it, jump back into GTM, go to Tags, select New, choose Google Ads User Provided Data Event as the tag type, and map the variables from Step 2 to the fields it asks for.

Then set it to fire on the Custom Event trigger you created in Step 3.
![]()
Once that's done, publish your GTM container.
With all of this complete, you should now have a Tag that listens for ClickFunnels opt-ins and sends an event to the dataLayer, some Variables that pull the lead's details out of it, a Trigger that watches for the event, and another Tag that sends the conversion to Google Ads when the Trigger fires.
To check it's working, open GTM Preview mode, complete the opt-in form with a test email, and confirm the clickfunnels_form_submitted event arrives with the email and name filled in (and that the Google Ads conversion tag you built fired).
Pros and cons
Pros:
- It's free, and you may already have Google Tag Manager installed on your funnel, so that's a start.
- Unlike Method 1, it captures the name, email and phone and sends them to Google Ads (the minimum you need for Enhanced Conversions).
- It only fires on a successful ClickFunnels opt-in, so if someone misses a required field or enters their email address in the wrong format, a conversion won't be counted (because ClickFunnels will reject the opt-in).
Cons:
- There are a lot of moving parts. Between the Custom HTML tag, four Variables, the Trigger, the Google Ads settings and the conversion Tag itself, there's plenty to get wrong. And when something does go wrong, nothing tells you where or why. It just doesn't work, and it's up to you to figure out what happened (Google doesn't provide support for Tag Manager, so you're on your own).
- The conversion is still sent from the visitor's browser, so ad blockers and privacy browsers can stop it from firing. Expect to lose 30% or more of your conversions this way.
- It still misses the data Google Ads needs most in order to match a conversion back to the original ad click. The name, email and phone are useful, but millions of people share the same name, and plenty of people have more than one email address (so the one they typed into your opt-in form may not be the one they were logged in to Google with when they clicked your ad). The only thing that ties a conversion back to the original ad click with 100% accuracy is the Google Click ID, and this method doesn't capture it.
That last point is what pushes a lot of people to Method 3.
Method 3: Use Converly
Best for: Sending proper, server-side conversions to Google Ads, Meta Ads, ChatGPT Ads, LinkedIn Ads, and more, without having to do complicated configuration in Google Tag Manager.
Converly is a dedicated conversion tracking tool. Whenever someone opts in on one of your ClickFunnels steps, it sends a server-side conversion to Google Ads, Meta Ads, LinkedIn Ads and any other platform you advertise on.
![]()
That screenshot is pretty much the whole setup. You just pick a trigger (like someone completing a ClickFunnels opt-in form), add one or more actions (like sending a conversion to Google Ads or Meta Ads), and that's it!
You then paste the code snippet Converly gives you into your funnel (the Head Code in your funnel settings is the easiest place for it) and it takes care of everything else. It detects the successful opt-ins, pulls out the name, email and phone, and passes them to Converly's servers. Converly then forwards them to Google Ads, Meta Ads and whichever other destinations you've connected from our servers (and because they're sent from Converly's servers and not through the visitor's browser, ad blockers and privacy-centric browsers like Safari can't block them).
On top of the name, email and phone, Converly also picks up the click IDs (i.e. GCLID, fbclid, etc), the browser cookies the ad platforms set, the visitor's IP address and their user agent, and sends all of it with every conversion. That extra data is what lets ad platforms match the conversion back to a real person and the original ad they clicked with near 100% accuracy (Meta's Event Match Quality score, for example, typically climbs from around 3 to somewhere between 9 and 10).

Pros and cons
Pros:
- Setup really is quick and easy. You choose a trigger, choose your actions, and you're finished. There's no custom code to write or look after, nothing complicated to configure, and no need to deal with ClickFunnels' quirks yourself.
- Sends click IDs, cookies, IP address and user agent with every conversion, which gives your match quality in the ad platforms a real boost (with Converly, Meta's Event Match Quality score usually goes from a 3 or 4 up to a 9 or 10, for example).
- Sends conversions server-side, so ad blockers and privacy browsers can't stop them. You can expect around 30% more recorded conversions than a Google Tag Manager setup gives you.
- Supports conditional logic, so you decide which opt-ins actually count as a conversion (like sending a conversion when someone opts in on your Free Consultation step, but not your Newsletter step).
- Lets you connect Google Ads, Meta Ads, etc directly inside Converly and then simply pick which conversion should fire. No hunting around for account IDs or conversion IDs.
- Comes with its own MCP and CLI, so you can connect an AI tool like Claude or ChatGPT, ask it to 'Set up conversion tracking in Google Ads and Meta Ads when someone opts in on my ClickFunnels funnel', and it does the whole job for you.
- Includes a full conversion log covering every lead who opted in on your funnel, what data was captured, whether it reached your ad platforms, and more.
- Backed by a real support team who'll help you get set up and sort out any problems. Good luck getting that kind of help from Google when your GTM setup breaks.
Cons:
- It costs money after the free trial ends. Plans start at $19 a month.
What not to do
So far we've covered the three best ways to set up conversion tracking for ClickFunnels, and when each one makes sense. But it's just as useful to know which approaches to avoid, because several of the most common ways people try to track ClickFunnels opt-ins don't work very well. Here are the ones to stay away from:
Tracking thank-you page visits
This is still the most popular DIY approach. After someone opts in, ClickFunnels sends them on to the next step in your funnel (often a thank you page), so counting visits to that step feels like the obvious shortcut. In practice though, it's far form ideal:
It counts people who never opted in. The next step in your funnel is just another page, and people can land on it without ever filling in your form. They might bookmark it (especially if it holds the lead magnet they wanted), come back to it from their browser history, get sent the link by a friend, or find it in Google if it's ever indexed. Every one of those visits is counted as a conversion, even though nobody opted in.
It can count one lead several times. If someone refreshes the thank you page, that's another conversion. If they wander off, then hit the back button and land on it again, that's one more. A single lead can be counted over and over, which inflates your numbers and leaves Google and Meta optimising your ads against conversions that never happened.
Your match rates would be terrible. The thank you step doesn't contain the opt-in form, so it has no name, email, phone, GCLID, fbclid, etc to pass on to the ad platforms. So even though the conversions arrive, many of them aren't counted, because they don't carry the data needed to tie the conversion back to a real person and the original ad they clicked.
Relying on the default form submit event in Google Tag Manager
When people build tracking in Google Tag Manager, they try to use the built-in Form Submission trigger, which listens for the browser's normal form submit event.
But ClickFunnels doesn't submit its opt-in forms the normal way, so this doesn't work. When the button is clicked, it sends the contact to its own servers in the background, waits for an answer, and only then moves the visitor on to the next page. None of this uses the browser's normal form submit event, so GTM's trigger never fires (and your opt-ins are never counted).
What you need to do is listen for ClickFunnels confirming it accepted the contact, which is what Methods 1 through 3 above all do.
Using GA4's automatic form tracking (Enhanced Measurement)
GA4 has a built-in Enhanced Measurement feature that promises to track form submissions automatically, with no setup required.
The trouble is that it watches for the same browser submit event as GTM's default trigger, so it runs into the same problems. ClickFunnels sends the contact details to its servers without ever triggering the standard form submit event in the browser, so GA4's automatic form tracking doesn't work.
If you want ClickFunnels opt-ins in GA4 reliably, use the free recipe from Method 1 above, or use Converly.
So which method should I use?
Here's how the three ways to track ClickFunnels conversions compare.
| Method | Best for | Sends conversions to | Data sent |
|---|---|---|---|
| Method 1. GA4 event built in Google Tag Manager | Sending opt-ins to Google Analytics (use our free GTM recipe to make it easier) | Google Analytics 4 | The submission event only |
| Method 2. Enhanced Conversions through Google Tag Manager | Sending to Google Ads, if fiddly configuration doesn't put you off | Google Ads | Name, email and phone |
| Method 3. Converly | Sending to any ad platform, with the least setup work | Google Ads, Meta Ads, LinkedIn Ads, ChatGPT Ads, GA4 and more | Name, email and phone, plus the GCLID, the Meta click ID, IP address and user agent |
Wrap up
Conversion tracking rarely gets the attention it deserves, yet it's one of the biggest drivers of how well your advertising performs.
Set it up properly and the ad platforms get the data they need to work out what your ideal customer looks like, and they can put your ads in front of more people just like them.
It makes a real difference too. Google says businesses that move to proper server-side conversion tracking see around 19% more conversions on average, and Meta reports a 23% lift from making the same switch.
Converly gives you every benefit of server-side tracking with none of the difficult parts. Just choose your trigger (someone opting in on a ClickFunnels step), pick which platforms the conversions should go to, and you're finished (and it's even simpler with an AI tool like Claude or ChatGPT. Install the Converly plugin, ask it to 'set up ClickFunnels conversion tracking', and it can configure everything, install the code and test that it works for you).
Getting started is free (no credit card is needed for the trial), and most people are up and running in under 10 minutes. Start your 14-day free trial today.
About the author

Aaron is the founder of Converly. With over 15 years of experience in digital marketing and SaaS, he's passionate about helping businesses track and optimise their ad conversions.
