In Yalla Souk the Meta Pixel is connected in Integrations › Marketing & analytics › Meta Pixel: paste the Pixel ID (digits) and, ideally, the Conversions API access token. The pixel loads on every page of the store, and the key events, including the purchase, are also sent from the server with the same ID so that Meta deduplicates them.
Behaviour checked in the product and Meta documentation read on 22 October 2026.
Meta Pixel in Yalla Souk at a glance
| Where to connect it | Integrations › Marketing & analytics › Meta Pixel › Configure |
|---|---|
| What you enter | Meta Pixel ID (digits only, for example 123456789012345) and, as a recommended option, the Conversions API access token. |
| Browser | PageView, ViewContent, AddToCart, InitiateCheckout, Contact, Purchase and the custom QualifiedVisit event. |
| Server (Conversions API) | ViewContent, AddToCart, InitiateCheckout, Purchase, and Lead for WhatsApp orders. |
| Currency sent to Meta | TND store: value converted to USD, dinar amount kept alongside. Other currencies: sent as they are. |
| Cost | Included, no fee. Your campaigns stay in your own ad account. |
Pixel and Conversions API: why both?
The pixel runs in the customer’s browser: an ad blocker or iOS restrictions can stop it from loading, and the purchase is then never counted. The Conversions API sends the same events from Yalla Souk’s server, whether or not the browser blocked the pixel.
To avoid counting one purchase twice, Meta deduplicates a browser event and a server event when they share the same event name and event ID and arrive within 48 hours. Yalla Souk uses the order ID as the event ID for the purchase, on both the browser and the server side.
How do I install the Meta Pixel on Yalla Souk?
- In Meta Events Manager, open your pixel and copy its Pixel ID.
- Still in Events Manager, Settings tab, Conversions API section, click Generate access token under “Set up manually”. Meta notes the link only shows for users with developer rights on the business.
- In Yalla Souk, open Integrations, Marketing & analytics category, then Configure on Meta Pixel.
- Paste the Meta Pixel ID and the token in Conversions API - Access Token, then save.
- Visit your store and check that events arrive in Events Manager.
The token is optional: without it, only the browser pixel works. To disconnect, clear the ID in the integration settings.
Which events does Yalla Souk send to Meta?
| When | Event | Browser | Server |
|---|---|---|---|
| Every page view | PageView | Yes | No |
| Product page opened | ViewContent | Yes | Yes |
| Add to cart | AddToCart | Yes | Yes |
| Checkout started | InitiateCheckout | Yes | Yes |
| Click on a contact or order-by-message button | Contact | Yes | No |
| Visit of at least 15 seconds with 50% of the page scrolled, once per session | QualifiedVisit (custom) | Yes | No |
| Order placed | Purchase | Yes | Yes |
| Order left through “Order via WhatsApp” | Lead | No | Yes |
| That WhatsApp order confirmed by you | Purchase | No | Yes |
QualifiedVisit gives Meta a signal of a genuinely interested visitor, useful to optimise a traffic campaign or build an audience while purchases are still rare.
Why do my dinar purchases show in dollars?
The Tunisian dinar is not among the currencies Meta ad accounts accept. So that a TND purchase keeps a usable value in your reports, Yalla Souk sends the value converted to US dollars and adds the original dinar amount in the value_local and currency_local parameters. A store in a currency Meta accepts (euro, dollar…) sends its own currency as is.
In practice: read ROAS in Meta as an order of magnitude, and keep your real dinar figures in Yalla Souk’s reports, which also know about parcels refused on delivery.
Which customer data goes to Meta, and how?
- For the Conversions API, email, phone, first name, last name, city, country and postal code are hashed with SHA-256 before sending, as Meta requires.
- The customer’s IP address and browser, and the Meta
fbpandfbccookies, are sent in clear because Meta needs them to match events. - The Meta, Google Analytics and Clarity scripts load once the page is displayed, so they do not slow the first paint; conversions are doubled on the server, so this delay loses no purchase.