Blog/How To Set Up Facebook Conversions API Tracking For Clickfunnels

Saturday, December 03, 2022

How To Set Up Facebook Conversions API Tracking For Clickfunnels

In this article, you’ll learn how to set up the Facebook Conversions API to track purchase and lead events in your Clickfunnels funnels server-side. To make the setup as easy as possible, we’re going to use CF Power Scripts.

Why would you want to use the Conversions API tracking? You may know that the iOS 14, some browsers, or ad blockers won’t let your Facebook tracking work properly. Therefore, the performance of your ads will get worse.

However, if you use Facebook Conversions API tracking in your funnels, Clickfunnels will report transactions or lead events to CF Power Scripts, and their systems will report them directly to Facebook.

This way, you can bypass iOS 14, browsers’ and ad blockers’ restrictions and achieve more accurate tracking and better performance of your Facebook ads.

Here’s what you need to do to set up the Facebook Conversions API tracking in Clickfunnels using CF Power Scripts!

Step 1: Set up the basic Facebook Pixel script

  • Log into your CF Power Scripts account and go to the Power Scripts tab.
  • ​Go to the funnel where you want to add the script.
  • ​Click Add New and choose the Facebook Pixel script.
1.png
  • Go to the Facebook Events manager – Data Sources and copy your Facebook pixel ID by clicking on it.
2.png
  • Go back to CF Power Scripts, and paste your pixel ID in the corresponding field.
  • ​Additionally, you may add advanced matching for your pixel. It provides Facebook with more information and may improve the performance of your ads. Select which fields should be matched and forwarded to Facebook by selecting the fields you’re using in your funnel.
  • ​Click Add Script to finish the setup of the basic Facebook pixel script.
3.png

Step 2: Add the Conversions Tracking Addon script

  • Another script you’ll need to set up the Facebook Conversions API in your Clickfunnels funnels is the Conversions Addon script.
4.png
  • In the settings of the script, choose your currency and enter 1 for the default subscription and default payment estimated LTV factors.
  • ​Click Add Script.
5.png

Step 3: Add the Facebook Conversions API script for Clickfunnels

  • Click Add New and select the Facebook Conversions API script (NOT the Facebook Conversions Tracking script).
  • ​First, you’ll need to set up a webhook in Clickfunnels.

What is this webhook for? Every time a visitor of your funnel triggers a lead or purchase event on your funnel by opting in or buying something, Clickfunnels will forward the data to the CF Power Scripts server with the help of the webhook. CF Power Scripts processes the data into the right shape and forwards them to Facebook.

That’s why it’s irrelevant if a user is using an adblocker or the latest iOS version because as long as the user is able to opt-in or purchase successfully on the funnel, Clickfunnels will trigger the webhook and CF Power Scripts will forward the data to your Facebook pixel.

It’s important to point out that CF Power Scripts doesn’t store this information permanently. It receives the webhook from Clickfunnels, processes the data, and forwards them to Facebook. They don’t keep track of your leads or transactions in any way.

  • Copy the link you see in the Webhook URL field.
6.png

In Clickfunnels

  • Go to the settings of your funnels at https://app.clickfunnels.com/funnels/
  • ​Select the funnel where you want to add the Conversions API by clicking on it, and head to the Settings tab in the top right corner.
  • ​In the Settings, scroll down to the Webhooks section, and click Manage Your Funnel Webhooks.
7.png
  • Click the button New Webhook in the top right corner.
  • ​In the first field, paste the webhook URL you copied in CF Power Scripts.
  • ​In the Events field, delete the All Events tag. Add the contact_created event if you want to track lead events, and the purchase_created event if you want to track purchases on your funnel.
  • ​The value of the Version field should be 1, and in the Adaptor field, select json.
  • ​Click Create Funnel Webhook.
8.png

In CF Power Scripts

  • Go to the Facebook Events Manager and copy your Facebook pixel once again.
  • ​Go back to CF Power Scripts and paste your pixel ID In the second field.
  • ​Head back to your Facebook Events Manager – Settings and scroll to the Conversions API section. Click Generate Access Token and copy the generated token. Paste it in the Facebook Access Token field in CF Power Scripts.
  • ​In the next two fields of the script settings, select if you want to track lead events value-based and enter your currency.

When you create lookalike audiences you can only use value-based events. Therefore, you can’t create a lookalike audience based on the regular lead event because it usually doesn’t have any value.

However, if you assign a value of 1 cent to the lead event, you will be able to use it as a basis for your audience. Once you have 100 opt-ins from one country, you’ll be able to set up a lookalike audience, and Facebook will target people who are similar to those who already opted in on your funnel.

  • Enter test in the Facebook Test Event Token field and choose No in the Enable Test Events field.
  • ​Click Add Script.
9.png

This setup will already allow you to track page views with the regular Facebook pixel and conversions using the product information that you entered in Clickfunnels for your order forms, order bumps, upsell and downsell pages.

However, CF Power Scripts allows you to distinguish between one-time purchases and subscriptions, and trigger the purchase or the subscribe event on Facebook respectively. If you want to track that on your funnels, you also need to complete the following step.

Step 4: Add the products information to CF Power Scripts

  • In CF Power Scripts, select the Order Form step of your funnel (works for both regular and 2-step order forms).
  • ​Click Add New and choose the Conversion Tracking Addon script once again.
  • ​Select your currency and enter 1 for the default subscription and default payment estimated LTV factors.
  • ​Click Add Product.
  • ​In Clickfunnels, go to your funnel’s order form. Open the Products tab.
  • ​Now, you need to add all the products you have in the Products tab to the settings of the Conversion Tracking Addon in CF Power Scripts.
    For that, click the Edit button for the first product and copy the product ID that you’ll find in the URL of the product – it’s the last number in the URL.
10.png
  • Go back to CF Power Scripts and paste the product ID in the Product ID field.
  • ​Enter the name of the product, choose the product type, define the price, currency, and the lifetime value factor (LTV factor). The LTV factor allows you to specify how long users pay for the product. For example, if on average users pay a monthly subscription for your product for 6 months, your LTV factor for the subscription product will be 6.
  • ​Same way add all the products from your order form and click Add Script.
11.png
  • Same way add the products for upsells and downsells funnels steps.
  • ​For your upsell and downsell pages, you also need to adjust some settings in the Clickfunnels. To do so, open the upsell/downsell page in the Clickfunnels editor.
  • ​For every button or text link that triggers the upsell/downsell on your page, open the Settings of the element. Go to the Get CSS info in the bottom right corner and change the title of the button to product-id-PRODUCT ID of the product that is purchased when a visitor clicks on the element, e.g. product-id-2680774.
  • ​Click Save.

With that, the setup of the Facebook Conversions API for your Clickfunnels funnels is done!

12.png

Final Thoughts

The whole process may seem overwhelming. However, if you follow all the steps, you’ll have proper Facebook tracking for your leads and transactions in place.

If you still feel confused, you may watch a step-by-step video tutorial that will show the same process described in this article.

Additionally, you may use the Facebook Custom Events script and track Add To Cart, Initiate Checkout, Open Pop-Up events on your funnels.

Is it possible to integrate Facebook Conversions API with Clickfunnels to be ready for iOS 14 updates?

Yes, it's possible to integrate Facebook Conversions API with Clickfunnels and bypass the restrictions of iOS 14. The easiest and fastest way to do so is to use the Facebook Conversions API script from CF Power Scripts. This way, you'll be able to set everything up even if you're not tech-savvy.

Can I track conversions on my Clickfunnels funnels using Facebook Conversions API?

Yes, you can integrate the Facebook Conversions API with Clickfunnels so you bypass iOS 14, browsers' and ad blockers' restrictions and achieve more accurate tracking and better performance of your Facebook ads. The easiest and fastest way to do so is to use the Facebook Conversions API script from CF Power Scripts.

See other posts like this one:

Saturday, December 03, 2022

How To Add An Image To An Order Bump In Clickfunnels

Saturday, December 03, 2022

3 Best Clickfunnels Backpack Alternatives To Manage Affiliate Programs

Saturday, December 03, 2022

How To Highlight And Preselect Product On Clickfunnels Order Page

Saturday, December 03, 2022

How To Add Product Image To Clickfunnels Order Form

Saturday, December 03, 2022

How To Add Shipping Address Matches Billing Address Checkbox In Clickfunnels

Saturday, December 03, 2022

Best Clickfunnels Deals In 2021 To Save Money On Your Clickfunnels Subscription

Saturday, December 03, 2022

Best Facebook Conversions API Integration For Clickfunnels

Saturday, December 03, 2022

Clickfunnels 2.0 Pricing

Saturday, December 03, 2022

How To Easily Add Google reCAPTCHA in Clickfunnels

Sunday, November 27, 2022

How To Translate Pages In Clickfunnels To Other Languages

Sunday, November 27, 2022

CF Pro Tools Review: Clickfunnels Add-On To Supercharge Your Funnels!

Tuesday, November 22, 2022

CF Pro Tools Alternatives That Are Definitely Worth Considering

Wednesday, November 09, 2022

How To Set Up LinkedIn Lead Tracking For Your Clickfunnels Funnels

Convertain Limited Logo

Convertain Limited
Room 606, 6/F, Hollywood Centre
77-91 Queen's Road West
Sheung Wan, Hong Kong

Built with and hosted at Clickfunnels 2.0

Convertain Limited
Room 606, 6/F, Hollywood Centre
77-91 Queen's Road West
Sheung Wan, Hong Kong

Privacy Policy | Cookie Policy

Built with and hosted at Clickfunnels 2.0

Disclaimer
Convertain Limited is an independent ClickFunnels™ Affiliate, not an employee. We receive referral payments from ClickFunnels™. The opinions expressed here are our own and are not official statements of ClickFunnels™ or its parent company, Etison LLC.

© 2022 by Convertain Limited

Privacy Policy

Cookie Policy

© 2022 by Convertain Limited