# Test and verify

Check that the tracking tag is live, that your conversions reach Zernio and that each ad platform receives them counted once.

Check tracking in three places: your site, Zernio and each ad platform. Do it once after setup, with a real or test purchase.

## Check the tag on your site

Open your site with the browser's developer tools on the **Network** tab, and filter by `zernio-edge`, or by your own subdomain.

1. `z.js` loads from `edge.zernio-edge.com`, or your [own subdomain](/products/server-side-tracking/custom-subdomain), with status 200.
2. A request to `/e` follows, with status 204. It carries the page view.
3. After a purchase, another `/e` request carries the `Purchase` event and its `eventId`.

## Check it in Zernio

Open **Ads**, then **Conversions**. The site shows **Live** once every check passed, and each ad account shows when it last received an event.

The **Events** tab lists each stored conversion and every send to every destination. With the API:

```bash
curl "https://zernio.com/api/v1/events?profileId=66a1f0c2a4b9d3e8f1a2b3c4&source=web" \
  -H "Authorization: Bearer $ZERNIO_API_KEY"
```

[Get one event](/conversions/get-event) shows each send as `sent`, `retrying` or `failed`, with the platform's error.

## Check it on each platform

| Platform | Where to look | When it shows |
|---|---|---|
| Meta | Events Manager, your pixel, **Overview**: events received from **Server**, and the deduplication rate | About 20 minutes |
| Google Ads | **Goals**, **Conversions**, the conversion action's status and diagnostics | A few hours; diagnostics after about 3 days |
| TikTok | Events Manager, your pixel, **Overview** | About 30 minutes |
| Google Analytics 4 | **Reports**, **Realtime**, or the **DebugView** | A few minutes |

On Meta, check Event Match Quality too. Sending `zernio('identify', …)` after a login or a form raises it.

## How it behaves

- **Server copies appear next to browser ones.** On Meta, a deduplicated purchase shows both connection methods and counts once.
- **Ad blockers hide the browser copy only.** Test once with an ad blocker on: the server copy still arrives.

## If it fails

| Symptom | Cause | Fix |
|---|---|---|
| `z.js` blocked in the console | Your Content Security Policy does not allow it | Add the collector host to `script-src` and `connect-src` |
| No `/e` request | The tag is not on the page, or another script failed first | Check the page source for the line |
| `/e` sent but no events in Zernio | The page's host is not in the site's `domains` | Add it with `PATCH /v1/tracking-sites/{siteId}` |
| Events in Zernio, none on the platform | No ad storage consent, or the ad account is switched off | Check [consent](/products/server-side-tracking/consent) and [the ad accounts](/products/server-side-tracking/ad-accounts) |
| Purchases counted twice on the platform | The pixel and Zernio sent different event ids | Share one id, as in [Count each conversion once](/products/server-side-tracking/deduplication) |

## Related

- [Get one event](/conversions/get-event)
- [List events](/conversions/list-events)
- [Count each conversion once](/products/server-side-tracking/deduplication)