Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Kartra and the Facebook Conversions API: How to Connect Them

If you are skim reading
The short version: Kartra doesn't have a native, one-click Facebook Conversions API integration, whatever some sales pages imply.

The short version: Kartra doesn't have a native, one-click Facebook Conversions API integration, whatever some sales pages imply. You connect the two using Kartra's webhook feature plus a piece of middleware (usually Stape or a server-side Google Tag Manager container), which sends your purchase, optin and lead events straight to Meta's servers instead of relying on the browser pixel alone. Done it takes an afternoon, not five minutes, and it improves how Meta sees and optimises for your conversions.

What the Conversions API fixes

The Facebook pixel sits in the visitor's browser and fires when something happens on the page, a purchase, an optin, a page view. The problem is that browsers, ad blockers, and iOS 14.5's App Tracking Transparency prompt all now block or strip a chunk of that data before it ever reaches Meta. You run ads, people buy, and Meta's Ads Manager quietly under-reports how many of them converted.

The Conversions API sends the same event, but from your server (or middleware) directly to Meta, outside the browser entirely. No ad blocker can touch it. You still run the pixel, you're not replacing it, you're backing it up with a second, more reliable channel. Meta then deduplicates the two so it doesn't count the same purchase twice, as long as you send a matching event ID on both.

Why Kartra doesn't make this easy

Here's the bit most guides gloss over. Kartra has a built-in Facebook pixel field in its tracking settings, you paste your pixel ID in and it fires standard events on checkout, optin and page view automatically. That part is simple. But Kartra has no built-in Conversions API connection. There's no toggle in Kartra's settings menu that says "turn on server-side tracking." If a blog post implies there is, it's wrong, or it's describing a third-party app doing the work and calling it native.

What Kartra does have is a solid webhook system inside Automations. That's your route in. You trigger a webhook whenever a specific event happens, a purchase, a tag being added, an optin, and that webhook sends a payload of data to a URL you specify. The job is getting that payload reshaped into the format Meta's Conversions API expects, and that's what the middleware step is for.

The actual setup, step by step

  • Step 1: Get your Conversions API access token. In Meta Events Manager, open your pixel, go to Settings, scroll to Conversions API, and generate a system-generated access token. Keep this private, it's effectively a password that lets anything send data as if it came from you.
  • Step 2: Set up middleware. Most people use Stape.io, which runs a hosted server-side Google Tag Manager container for you. Stape's free tier covers roughly 5,000 server events a month, which is plenty if you're running a single funnel; its first paid tier sits around $20 a month once you outgrow that. If you already have someone technical on the team, you can run your own server-side GTM container instead and skip the monthly fee, but it needs maintaining.
  • Step 3: Build the webhook in Kartra. Go to Automations, create (or edit) a sequence, and add a trigger on the event you want to track, "Purchase Made" is the obvious one. Add a Webhook action and point it at the endpoint your middleware gives you.
  • Step 4: Map the fields. Meta's Conversions API needs event_name (Purchase, Lead, CompleteRegistration), event_time, a user_data block (email and phone, both hashed with SHA-256, never sent in plain text), and a custom_data block with value and currency. Kartra's webhook payload has most of this raw, your middleware tool reshapes it into Meta's format.
  • Step 5: Add a shared event ID. This is the step people skip and then wonder why their reported sales double. Generate the same unique ID for both the browser pixel event and the server event for that same purchase. Meta uses it to deduplicate. Without it, you'll see one real sale logged twice in Ads Manager.
  • Step 6: Test before you trust it. Open Events Manager, go to Test Events, make a real (or test-mode) purchase through your Kartra checkout, and confirm the event shows up tagged as coming from the server, not just the browser. Check the Event Match Quality score Meta gives you, this tells you how well it's matching the event to a real person.

A worked example: the $497 course funnel

Say you run an online course priced at $497, sold through a Kartra checkout page, with $50 a day going into Meta ads pointing at a cold audience. Before setting up the Conversions API, Ads Manager is reporting a cost per purchase of around $38, but your Kartra sales dashboard shows more purchases than that number accounts for. Some of those buyers are on iPhones with App Tracking Transparency switched off, or running an ad blocker, so their purchase event never reaches Meta's pixel.

You wire up the webhook, point it through Stape, map the purchase event with a hashed email and the shared event ID, and leave it running for two weeks. Meta's reported purchases climb because it's now catching events the pixel alone was missing, and the reported cost per purchase in Ads Manager drops closer to $24. Nothing about your actual sales has changed, you've sold the same course at the same price to the same number of people. What's changed is that Meta can now see more of what's really happening, which also means its algorithm has better signal to optimise against going forward, so your actual results tend to improve over the following few weeks too, not just the reporting.

The uncomfortable bit people skip over

A lot of posts on this topic sell the Conversions API as a fix that recovers "100% of lost conversions." It doesn't. Meta grades your Event Match Quality as Great, Good, Fair or Low based on how many identifying parameters you send, email, phone, external ID, and even a well-built setup with hashed email and phone typically lands you a match rate somewhere in the 60 to 80 percent range, not perfect. You are improving attribution meaningfully, you are not restoring full visibility to pre-2021 levels, and anyone promising otherwise is overselling the fix. Treat the improved numbers as better, not complete.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

The other thing worth saying plainly: if you've got low order volume, under a few dozen purchases a month through Kartra, the Conversions API is still worth doing once, but it won't transform a struggling funnel into a working one. It improves optimisation on an offer that already converts. It does nothing for an offer that doesn't.

Mistakes that quietly break the connection

  • Sending PII (email, phone) in plain text instead of hashed with SHA-256, Meta will reject or ignore these fields.
  • Forgetting the shared event ID, which inflates your reported conversions and tricks you into thinking an ad is working better than it is.
  • Pointing the webhook at the wrong trigger, so you're sending "optin" data labelled as "purchase," which wrecks your Event Match Quality and your ad optimisation at the same time.
  • Never checking Test Events after setup and assuming it's working because no error message appeared.
  • Setting it up once and never revisiting it after Kartra or Meta changes their field structures, which happens more often than anyone admits.

When to bring someone in instead

If reading the six steps above made your stomach sink a bit, that's a fair reaction, this sits at the join between marketing and basic development work, and getting the field mapping wrong doesn't throw an obvious error, it just quietly skews your ad data for weeks before anyone notices. If you'd rather hand the whole thing to someone who does this kind of integration regularly, that's exactly the sort of practical, fiddly setup work an AI implementation coach can wire up in a single working session, tested and documented, rather than you guessing your way through Events Manager at 11pm.

Frequently asked questions

Does Kartra support the Facebook Conversions API natively?

No. Kartra has a built-in pixel field for standard browser tracking, but connecting the Conversions API requires routing a Kartra webhook through middleware such as Stape or a server-side Google Tag Manager container.

Do I still need the Facebook pixel if I set up the Conversions API?

Yes. The Conversions API is a backup channel, not a replacement. Run both together with a shared event ID so Meta can deduplicate and you get the most complete picture possible.

How much does it cost to connect Kartra to the Conversions API?

If you use Stape, the free tier covers around 5,000 server events a month, enough for most single-funnel setups, and the first paid tier runs roughly $20 a month once you're past that. Running your own server-side GTM container avoids the fee but takes more technical maintenance.

Will this increase my actual sales?

Not directly. It improves the data Meta sees, which usually improves ad optimisation and lowers your reported cost per purchase over a few weeks, but it doesn't change conversion rates on your checkout page or the demand for your offer.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.