---
title: "Facebook Conversions API (Meta CAPI) from PLN 999 | VulCode"
description: "Purchases and sign-ups sent to Meta from the server next to the Pixel, deduplicated by event_id, only with consent: each conversion counts once. From PLN 999."
url: "https://vulcode.com/en/services/integrations/meta-conversions-api"
lang: "en"
---

[Home](https://vulcode.com/en)[Services](https://vulcode.com/en/services)[Integrations](https://vulcode.com/en/services/integrations)[CRM, marketing and messaging](https://vulcode.com/en/services/integrations/crm-and-marketing)

# Facebook Conversions API (Meta CAPI): server conversions next to the Pixel

VulCode, a software house from Cracow, Poland, connects your store's server to the Meta Conversions API, Meta's server-side conversion API for Facebook and Instagram. A purchase, a sign-up or an enquiry goes from the server next to the Pixel, and each event gets an event_id, so Meta can tell the browser copy from the server one. The server sends an event only when the banner consent allows it. The Conversions API setup costs from PLN 999 (about EUR 220) and usually takes 2-3 days, and the free quote comes back within an hour.

[Free quote](https://vulcode.com/en/quote)[Full pricing](https://vulcode.com/en/services/pricing)

## From a store event to Meta

The same conversion reaches Meta by two routes. Deduplication decides which one stays. Each stage has one job: the store provides the identifier, the server sends the conversion, and Meta counts it after deduplication.

- **Store** an event in the browser, the Pixel with eventID event from the cart

- **Server** the same event with the same event_id event_id from the store

- **Conversions API** POST of the event to the Meta endpoint POST of the event

- **Deduplication** the event_id and event_name pair, a 48-hour window one conversion

- **Meta** the conversion in reports and optimisation

- **When it works**: Meta counts one conversion, not two
- **When it fails**: Without a matching event_id, Meta does not deduplicate the events

## Event fields on the server side

The fields that the Meta documentation lists for website events and for deduplication.

| Field | What for | Where from |
| --- | --- | --- |
| event_id | Lets the Pixel event be deduplicated | The same identifier from the store |
| event_name | Must match the event on the browser side | The store code |
| action_source | Where the event came from, required for website events | The website value |
| client_user_agent | Browser data, required for website events | The request header |
| event_source_url | The address of the page where the event happened | The page address |

For website events action_source, client_user_agent and event_source_url are required. Other fields depend on the event type.

## The deduplication window

Deduplication works over time. After the window, a further event with the same event_id is treated as new.

- 01 **browser**
  The Pixel sends the event with eventID. If it arrives first, Meta usually keeps that one.

- 02 **server**
  An event with the same event_id and event_name within 48 hours of the first one is rejected as a duplicate.

- 03 **after 48 hours**
  An event with the same event_id is no longer deduplicated. That is why we assign the identifier to a specific conversion once.

## Before the first conversion goes from the server

Details that block the launch if someone forgets them.

Points left 4

Done: 0

- 01 The same event name on both sides Pixel and events The Pixel and the server must send the same event name, otherwise matching by event_id and event_name does not work.

- 02 A unique event_id per conversion Pixel and events We generate the identifier in the store and pass it both to the Pixel and to the server. The same purchase always has the same identifier.

- 03 A test event code Tests and consent The test_event_code parameter marks test events before they go to production.

- 04 Consent before sending Tests and consent The server sends an event only with consent from the banner. Without consent, the event does not leave the server.

- All points checked Pixel and events 2/2 Tests and consent 2/2

## The Pixel alone or the Pixel with a server

The Pixel alone is not enough when part of the conversions happens outside the browser. Then the server adds the missing events.

### Pixel only

- The store is simple and the events happen in the browser.

- You do not need conversions from a warehouse system or from a phone.

The Meta Pixel with a ready store plugin, without a server of your own.

[E-commerce platforms](https://vulcode.com/en/services/integrations/ecommerce-platforms)

### Pixel and Conversions API

- Conversions also happen in your system, not only in the browser.

- You want server events in Meta, e.g. after a payment confirmed in your system.

The Pixel in the store and the Conversions API on your server, with deduplication by event_id.

## The store collects consent, the server only respects it

The Conversions API does not collect consent.

Your banner does, and the server sends only what the user agreed to.

- Limited Data Use is a Meta setting that limits how user data from selected US states is processed. If you sell to the US, we set it before we switch the sending on.

- Conversion data sent from the server falls under the same consent as the Pixel. We do not send events the user has not consented to.

- When a store has several conversion sources, e.g. a form, a payment and an order system, each of them gets the same identifier scheme. This way the conversion count in Meta does not grow just because one event arrived by two routes.

## Common questions about the Meta Conversions API

Click a question to see the answer.

**How much does a Conversions API setup cost?**

A Conversions API setup costs from PLN 999 (about EUR 220). The figure grows with the number of event types and the systems we send them from. A typical setup takes 2-3 days, and the free quote comes back within an hour. We quote it under our [API and integrations](https://vulcode.com/en/services/api-integrations) service.

**How long does it take?**

Usually 2-3 days. The exact dated schedule comes with the free quote, and if anything is going to move, you know in advance.

**Who builds the Conversions API integration?**

VulCode, a software house from Cracow, Poland, builds the Conversions API on your server and connects it to the Pixel in the store. The Meta account, the Pixel and Business Manager access stay with you.

**Will server events replace the Pixel?**

No. Server events go next to the Pixel, and Meta processes them the same way as Pixel events. The Pixel stays in the store, because it sends browser events, and their duplicates are removed by event_id.

**What is event_id and why is it needed?**

It is the event identifier that the store passes to the Pixel as eventID and to the Conversions API. Meta uses it together with event_name to match copies of one event, and within 48 hours it rejects duplicates. We assign the identifier once, at the event, and do not generate it again for each send, because then deduplication would have nothing to match.

**What about user consent?**

The server sends an event only when the banner allows it. Consent is collected by the [cookie banner](https://vulcode.com/en/services/website-widgets/cookie-consent) with Consent Mode v2, and we connect it to the sending from the server.

**How do you check the events before launch?**

With a test event code, before they go to production. We check that each conversion has its own event_id and that Meta deduplicates them.

## Sources

Technical details come from the Meta documentation.

- [Conversions API: overview](https://developers.facebook.com/docs/marketing-api/conversions-api)

- [Deduplicating Pixel and server events](https://developers.facebook.com/docs/marketing-api/conversions-api/deduplicate-pixel-and-server-events)

- [Event parameters](https://developers.facebook.com/docs/marketing-api/conversions-api/parameters)

## Related pages

Integrations in this area, the consent banner and the service under which we quote the setup.

- [**Google Analytics 4 and Tag Manager** Google Analytics 4 through Tag Manager and Consent Mode v2.](https://vulcode.com/en/services/integrations/google-analytics-and-tag-manager)

- [**CRM, marketing and messaging** All CRM, marketing and messaging integrations.](https://vulcode.com/en/services/integrations/crm-and-marketing)

- [**SMSAPI** Transactional SMS and delivery reports.](https://vulcode.com/en/services/integrations/smsapi)

- [**Cookie banner with Consent Mode v2** A cookie banner with Consent Mode v2.](https://vulcode.com/en/services/website-widgets/cookie-consent)

- [**Integrations and automation** Integrations under the API service, from PLN 999.](https://vulcode.com/en/services/api-integrations)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)
