Cookie preferences

Choose which optional cookies EndFrame may use on this site. Analytics and advertising tools load only if you allow them, and you can change your mind any time from “Cookie settings” in the footer. Whatever you choose, this tab keeps the campaign labels from the link that brought you, and they are saved with your account if you sign up. Read the Cookie Policy.

Needed for the site to work, such as remembering this choice. Always on.

Lets us load analytics tools through Google Tag Manager, including Google Analytics and Microsoft Clarity session recordings, to understand how the site is used.

Allows advertising tags to measure our ad campaigns. None run on this site today. It also keeps ad click IDs from the page address for this tab, and saves them with your account if you sign up.

Skip to main content

ClickFunnels Meta Pixel and Conversions API Setup: Site Settings, Access Token and Testing

A step-by-step guide to the native ClickFunnels 2.0 Meta Pixel and Conversions API fields: creating the dataset, copying the ID, token and test code, testing a purchase with bumps and upsells, and checking deduplication in Events Manager.

The EndFrame Team7 min read

ClickFunnels 2.0 has a built-in connection for both the Meta Pixel (the browser tag) and the Meta Conversions API (CAPI, which sends the same events from a server). You fill in three fields under Site Settings, Tracking Codes, in the Site & Blog app, and ClickFunnels applies them to site pages, funnel pages and landing pages. ClickFunnels' own help centre has documented the integration since May 2025. What that documentation does not say is which events are sent or how duplicates between browser and server are handled, so this guide covers the setup and then shows you how to read the answer in Events Manager.

What you need before you start

  • An active ClickFunnels 2.0 account with the Site & Blog app added to your workspace.
  • A Meta business account with access to Events Manager. Generating an access token needs developer-level permission on the business, so ask the account owner if you cannot see the link.
  • Ideally, your own domain connected to the site and funnels, so you can verify it with Meta (covered further down).
  • A funnel with a checkout page and at least one product, if you want to test the Purchase event.

Step 1: Create the dataset in Events Manager

Events Manager calls a pixel a dataset: one ID that receives events from the browser and from the server. If you already have a pixel for this business, reuse it: two IDs split your optimisation data. To create one, follow ClickFunnels' route below; Meta renames Events Manager screens from time to time, so look for the nearest match if a label differs.

  1. 1Open Events Manager, go to Data Sources and click + Connect Data.
  2. 2Choose Web, then Create New Dataset (or pick an existing one), give it a name and click Create.
  3. 3Choose Set Up Manually, then Conversions API and Meta Pixel (Recommended).
  4. 4Click Start CAPI Setup. Meta walks you through Overview, Select Events, Select Event Details, Review Setup and See Instructions, then you click Finish.
  5. 5In Select Event Details, tick the customer information parameters such as email and phone for each event. Meta uses them to match events to people, which is what the Event Match Quality score measures.

Step 2: Copy the three values ClickFunnels asks for

ClickFunnels fieldWhere to find it in Events ManagerNotes
Facebook Pixel IDData Sources, select the dataset, Settings tab, Dataset IDA number. It is the same ID the pixel uses in the browser.
Facebook Access TokenSettings tab, Conversions API section, click Generate access token (ClickFunnels shows it under Set up direct integration, Meta's developer guide under Set up manually)A long string. Keep it private: it is the credential that authorises server events into your dataset.
Facebook Test Event CodeTest Events tab, expand Confirm that your server's events are set up correctly, copy the codeOptional, for testing only.

Step 3: Paste them into ClickFunnels

  1. 1In ClickFunnels, open the Site & Blog app from the left-hand menu and click Site Settings.
  2. 2Scroll to the Tracking Codes section.
  3. 3Paste the Dataset ID into Facebook Pixel ID and the token into Facebook Access Token.
  4. 4For the testing session only, paste the code into Facebook Test Event Code.
  5. 5Click Update Site.

Because these settings live at site level, they cover every funnel in the workspace. Check that nobody pasted the pixel base code into a funnel's Head Code or a page's Header Code in the past. Meta lists duplicated pixel code on a page as a common setup error, and a second copy would fire PageView and any other events twice from the browser.

Test the setup with a real funnel run

Keep the Test Events tab open and walk through a funnel in another tab: landing page, opt-in, checkout, upsell, thank you page. Each event appears with its source, browser or server. For the browser side, Meta's free Chrome extension lists the events and parameters fired on each page. ClickFunnels calls it Meta Pixel Helper; the Chrome Web Store lists it as Meta Ads Data Advisor, so search for either name. Our free pixel inspector can show whether a published step's initial HTML contains the pixel ID you expect; it cannot see a pixel that is injected later by script. For the full testing routine, see our guide to testing Meta Pixel and Conversions API events.

To test a purchase without charging a card, open the funnel's Settings tab, switch off Live Mode (Payments), make sure Credit Card is ticked under Enabled Billing Payment Method Types and click Update Funnel. A yellow banner confirms the funnel is in test mode. Then click Preview on the checkout page and pay with card number 4111 1111 1111 1111, any future expiry date and any three-digit CVV. PayPal has no test mode, so it cannot be tested this way. Switch Live Mode back on when you finish.

Order bumps, upsells and purchase value

ClickFunnels does not document how bumps and one-click upsells are reported to Meta, so make your test order exercise all of them and compare the result with what you paid. Suppose the main product is 47 and the bump is 17, then you accept a 97 upsell: the order total is 161. Open each Purchase event in Test Events and check these points.

  • Does the checkout Purchase carry a value of 64 (product plus bump) or only 47?
  • Is a currency parameter present, and is it the currency the product is priced in?
  • Does accepting the upsell send a second Purchase, and is its value 97 or the running total of 161? A running total would overstate revenue in Ads Manager.
  • Does declining the upsell send anything extra?
  • Does each Purchase arrive from both browser and server, and do the two copies carry the same event ID?

Remove the test event code afterwards

When you are done, clear the Facebook Test Event Code field and click Update Site again. ClickFunnels warns that otherwise live traffic may show up as test events, and Meta's developer documentation says the code is for testing only and must be removed from production events.

Check what is sent and whether it deduplicates

Running the pixel and the Conversions API together means most events reach Meta twice, once from each source. Meta's recommended way to keep one copy is for both to carry the same event name and the same event ID (event_id on the server, eventID in the pixel), with the second copy received within 48 hours of the first. ClickFunnels does not say how it sets these IDs, so after a few days of live traffic, check the result in Events Manager. Our Meta CAPI event deduplication explainer covers the rules.

  1. 1Open the dataset's Overview and look at Connection Method for each event: Purchase and Lead should list both browser and server.
  2. 2Click Event Details on an event, then open the Event Deduplication tab.
  3. 3Read Rate of Events Deduplicated. Meta says higher is better and shows a warning when the rate is too low.
  4. 4Read Rate of Deduplication Key Usage and its Overlap figure. Low overlap means the event ID is missing, not unique, or sent from only one source, which leads to double counting.
  5. 5Check the Event Match Quality score, which Meta rates from 1 to 10 and typically recommends keeping at 6.0 or higher where possible; our guide to improving Event Match Quality explains what moves it.

If deduplication looks poor, send ClickFunnels support a screenshot of the Event Deduplication tab. Adding your own Purchase code will not fix it; it only adds another copy.

Custom domain and domain verification

ClickFunnels strongly recommends verifying your domain with Meta for better tracking accuracy, especially for visitors on iOS devices affected by Apple's App Tracking Transparency. Meta's verification methods, such as adding a DNS TXT record or uploading an HTML file to the site's root, need control of the domain. You have that for your own domain, not for a ClickFunnels-hosted address. Meta also expects the event_source_url of website events to match your verified domain. So connect your domain first: in Site & Blog, Site Settings, choose it in the Domain field of the Site Domain section and click Update site. For each funnel, click the gear icon, pick the domain, set a Funnel Path URL such as /webinar, and click Update Funnel. If your landing page sits on one domain and checkout on another, read our guide to Meta Pixel cross-domain tracking.

Adding extra events on a single funnel step

Sometimes you want an event the integration does not send, such as a visit to a bonus page. ClickFunnels gives you three levels for code: site level (Site & Blog, Site Settings, Header Code or Footer Code), funnel level (funnel Settings, Head Code or Footer Code, which applies to every page in the funnel) and page level. For one page, open the page editor, choose Settings, then Show Code, and use the Header Code or Footer Code tab. On funnel pages, Settings sits under the Customize (gear) icon.

Because the pixel is already loaded by the site settings, add only the event call, for example fbq('trackCustom', 'BonusPageView'), not a second copy of the base code. Avoid re-sending standard events the integration may already fire, such as Lead or Purchase: your code will not share an event ID with ClickFunnels' server copy, so Meta cannot merge them and the conversion counts twice. If a standard event is missing, a custom conversion built on a URL rule avoids that risk. Our comparison of standard events, custom events and custom conversions helps you choose. One editor quirk: ClickFunnels will not save Header or Footer Code containing an unclosed {{ or {%, so wrap such code in {% raw %} and {% endraw %}.

If you also want each conversion credited to the campaign and source of the visit that produced it, EndFrame records visits with its own snippet and can forward conversions to the Meta Conversions API. Use it instead of the native token rather than alongside it. Meta merges its copy with the browser Purchase only if the pixel and endframe.track share the event_id and event name, which is hard to arrange when ClickFunnels fires the browser event. Test deduplication first.

Frequently asked questions

Do I still need to paste the Meta Pixel base code into ClickFunnels?

No. The Facebook Pixel ID field loads the pixel for you across site, funnel and landing pages. Pasting the base code into Head Code as well loads the same pixel twice, and Meta lists duplicate pixel code on a page as a common setup error. Pick one method and remove the other.

Is the Facebook Test Event Code field required?

No, ClickFunnels marks it as optional. It exists only so that server events show up in the Test Events tab while you check the setup. Fill it in for a testing session, confirm the events, then clear the field and click Update Site again so live traffic is no longer sent with the test code attached.

Does a test purchase with Live Mode switched off still send a Purchase event to Meta?

ClickFunnels does not say either way, so check it yourself. Keep the Test Events tab open, buy with the test card on a funnel in test mode, and see whether a Purchase arrives from the browser, the server, or both. If it does, keep test orders to the few you need, because each one lands in the same dataset your campaigns optimise on.

Try EndFrame

Add a server-side path for your conversions.

EndFrame collects events first-party and forwards conversions server-side to Meta, GA4, TikTok, and webhooks with event-ID deduplication — then credits each conversion to its campaign, with the visit-to-conversion path you can audit.

No credit card required

Keep reading