Help centerMarketing & A/B tests
Server-side conversions (Meta, TikTok, GA4)
Send goals straight from the server to Meta's Conversions API, TikTok's Events API and GA4's Measurement Protocol, with deduplication and consent respected.
Ad blockers and Safari's protections hide part of the conversions that pixels send from the browser. With server-side conversions, Tenanci sends the same goals directly to Meta, TikTok and Google Analytics, so the customer's campaigns optimize on more complete data.
How it works
Every goal recorded on the domain (tenanci.track() or a page goal) is also sent from
Tenanci's servers to the providers you configured:
| Provider | Receives | Needs the tag |
|---|---|---|
| Meta (Conversions API) | tenanci.track() goals and page goals |
Meta Pixel |
| TikTok (Events API) | tenanci.track() goals and page goals |
TikTok Pixel |
| Google Analytics 4 (Measurement Protocol) | page goals only | Google Analytics 4 |
GA4 only gets page goals because tenanci.track() goals already reach it from the browser, and GA4 doesn't drop
repeated events.
Before you start
- The provider's tag ID must be filled in under Tags and pixels on the same domain.
- Only the organization's owner and admin can configure conversions.
- Have the provider's token at hand:
| Field in the dashboard | Where to generate it |
|---|---|
| Conversions API access token | Events Manager → your pixel → Settings → Conversions API → Generate access token |
| Events API access token | TikTok Ads → Tools → Events → your pixel → Settings → Generate access token |
| Measurement Protocol API secret | GA4 → Admin → Data streams → your stream → Measurement Protocol API secrets |
Set up
- Open the domain, Marketing tab, Server-side conversions card.
- In the provider's block (for example, Meta (Conversions API)), paste the token.
- For Meta and TikTok, fill in the Test code (optional) if you want to see events under "Test events" in the provider's manager.
- Leave Send on and click Save. You'll see "Conversions saved".
The token is stored encrypted and never shown in the dashboard again. To change it, paste a new one: the field reads "Already configured. Fill in only to replace it."
Test
Click Send test event. Tenanci immediately sends an event named TenanciTest and shows the result:
- Test event accepted: the provider received it (on Meta and TikTok, with the test code, it shows up under "Test events");
- The provider rejected the test event: the provider's message appears right below (wrong token, pixel from another account…).
For GA4, the test uses Google's validation endpoint, which points out issues with the event without recording anything.
Status of each integration
| Badge | Meaning |
|---|---|
| Not configured | no token yet |
| Fill in this tag's ID under Tags and pixels to activate. | the provider's pixel ID is missing on the domain |
| Last error | the last send failed; the message and time appear in the block |
| Active · last sent… | sending normally |
| Off | configured, but with Send turned off |
Temporary errors (provider down, rate limits) are retried twice more before becoming Last error.
Consent and privacy
- With the cookie banner on, only conversions from visitors who clicked Accept are sent. Without the banner, all of them are sent, and consent is up to the customer's site.
- The visitor's IP and browser (user agent) go to the provider, since that's what lets it match the conversion to a person; Tenanci doesn't store them.
- Automatic goals (form, WhatsApp, phone) stay in analytics and aren't sent to providers.
No double counting
Each tenanci.track() conversion leaves the browser (pixel) and the server with the same event_id. Meta and
TikTok use that id to drop the copy. So you don't have to choose between pixel and server: keep both on.
Through the API
Check the status with GET /domains/:id/conversions, configure with
PUT /domains/:id/conversions/:provider (meta, tiktok or ga4) and
test with POST /domains/:id/conversions/:provider/test.
curl -X PUT https://api.tenanci.com/v2/domains/dom_4h7n1q/conversions/meta \
-H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"secret":"EAAB...","testCode":"TEST12345","enabled":true}'
curl -X POST https://api.tenanci.com/v2/domains/dom_4h7n1q/conversions/meta/test -H "Authorization: Bearer tnc_live_xxxxxxxx_xxxxxxxxxxxx"
# → { "ok": true, "detail": "" }To remove an integration: DELETE /domains/:id/conversions/:provider.
Common issues
- Test button disabled: the pixel ID is missing under Tags and pixels.
- GA4 gets nothing: it only receives page goals, and only from visitors who clicked Accept on the cookie banner (accepting is what releases the GA4 identifier for sending). In practice, sending to GA4 requires the banner to be on.
403 feature_not_in_plan: the organization's plan doesn't include this feature; see plans.

