If you’ve been setting up an email opt-in funnel with ClickFunnels, you’ll probably want to track your leads/conversions using Facebook Pixel since Facebook can be a very useful tool for getting traffic and awareness to your funnel.
Today, I’ll be showing you how to use the Facebook Pixel with ClickFunnels using 2 tracking methods – Page Load & Inline Action. I’ll explain when and how to use each of these.
When To Track Leads With The Facebook Pixel “Track Event on Page Load” Method On ClickFunnels
Wow, that title is a mouthful. I really couldn’t think of a shorter way to word without emitting critical details though.
So this method of event tracking is used when your opt-in funnel redirects to the next funnel page after form submission. So the user enters their email on your opt-in page, and they are redirected to a Thank You page or some page that is not the opt-in page.
For this scenario, the “Track Event on Page Load” option on your Facebook Pixel installation is the one to use.
The user reaches the Thank You page, which can only be reached by obtaining their email and then the Facebook Pixel fires a lead event when the user has loaded this Thank You page.
When To Track Leads With The Facebook Pixel “Track Event on Inline Action” Method On ClickFunnels
This method of event tracking is used when your email opt-in page does not redirect to a different page when the user has submitted their email.
An example of this scenario is when the user is on a page in your funnel, then suddenly an email opt-in form pops up, giving the user the opportunity to submit their email.
With this method, upon submission of the email form, the user is then returned to the original page.
There is no redirecting to the next step of the funnel on the lead capture event in this case, so this is when we would use the “Track Event on Inline Action”.
In this case, the lead event code for your Facebook Pixel is actually integrated in to the button of the form submission itself, so when the user clicked the form submission button successfully (meaning they entered a valid email address), the lead event is fired on your Facebook Pixel.
How To Track Leads With The Facebook Pixel “Track Event on Page Load” Method On ClickFunnels
1. Get Your Facebook Pixel
You’ll need to own a Facebook Page, and then you can go to your Facebook ads manager and select the main menu in the top left and navigate to the “Pixel” section to add a data source.
2. Install Base Code On Funnel
Once you’ve begun the setup process for your new Facebook pixel, copy the base code.
After copying the base code, open your funnel within ClickFunnels and go to Settings and paste the base code in the box below Head Tracking Code
3. Install Your Facebook Pixel Lead Event On To Your ‘Thank You’ ClickFunnels Page
Go back to Facebook Ads Manager, and proceed to the next step in your Facebook Pixel installation. Select Manually add event code.
Select one of the options that shows Lead as an event, I chose Other Businesses. Deselect the Send Event Parameters and copy the event code.
On your ClickFunnels funnel page, select the Thank You page, and select Edit Page.
Go to Settings > Tracking Code from the top left corner of the funnel editing page.
Paste the event code in to the box that pops up and then exit and save.
Now the lead event may not fire at first when you test it, don’t worry. Complete the Pixel Installation process at this point and then test the lead event afterwards.
How To Track Leads With The Facebook Pixel “Track Event on Inline Action” Method On ClickFunnels
Follow steps 1 and 2 above, the base code of your pixel is the same process.
In step 3, when your at the lead event installation part, select Track Event on Inline Action. Insert event code as shown. Copy the code (the bottom box with your inserted event code)
Now, select your email opt-in page of your ClickFunnels funnel, and Edit Page.
Select Pop-up and then edit the form submission button. In the HTML section of the button editor, paste your code.
Complete the pixel installation process and test the lead event afterwards to ensure the Facebook Pixel is firing a lead event upon form submission.