Server-side analytics (Meta CAPI)
Improve conversion tracking by enabling the Meta Conversions API — survives ad blockers and gives you a server-side mirror of every pixel event.
The Meta Conversions API (CAPI) is a server-side mirror of your browser pixel. Instead of relying entirely on the visitor's browser to fire a pixel event, Spotagig also sends the same conversion data directly from its servers to Meta — meaning the event reaches Meta even when an ad blocker, iOS privacy restriction or browser extension would have blocked the pixel.
- Visitor converts
- Browser pixel fires
- Server also fires
- Meta deduplicates
Meta deduplicates the browser hit and the server hit automatically using a shared event ID, so you never double-count — you just get better coverage.
Getting a CAPI access token
The CAPI access token is a credential that authorizes Spotagig's server to send events to your Meta pixel on your behalf. You generate it in Meta's Events Manager.
- Open Events Manager Go to Meta Events Manager and select your pixel.
- Go to Settings Click the Settings tab for your pixel.
-
Generate a token
Scroll down to Conversions API and click
Generate access token. Copy the token — it
starts with
EAA…and is quite long.
Adding the token to your profile
- Open Analytics settings Go to your profile's Settings page and expand the Analytics Tracking accordion.
- Find the Server-side section Below the pixel and GA4 fields you'll see a Server-side Conversions API section.
- Paste your token Click into Meta CAPI Access Token and paste the token you copied from Events Manager. The field is masked — your token is never displayed in plaintext and is stored encrypted.
- Save Click Save Analytics Settings. Server-side event delivery starts immediately for your tenant site.
Testing with Meta Test Events
Before going live, you can route server-side events to Meta's Test Events tool so you can verify they arrive without affecting your real reporting.
-
Get your test event code
In Events Manager, go to Test Events. Your
test code is shown at the top — it looks like
TEST12345. - Add it to your settings In the same Server-side Conversions API section, paste the code into Meta Test Event Code and save.
- Send a test event Use the Send a Test Event panel (just below the save button) to fire a Purchase, InitiateCheckout or other event. Tick Server-side (CAPI) and click Send Test Event. The event should appear in Meta Events Manager within about 30 seconds.
- Remove the code when done Clear the Meta Test Event Code field and save. Leaving a test code in place routes all real conversion events to the test dataset instead of live reporting, so always remove it before going live.
How deduplication works
Every conversion event on your tenant site fires twice: once from the visitor's browser (the Meta Pixel) and once from Spotagig's server (CAPI). Both hits carry the same event ID, which Meta uses to recognize them as the same occurrence and count it only once. You can verify this in Events Manager under Compare with browser events.
fbq() from your browser, so you can verify the browser pixel
is loaded separately from the server-side test.