# Conversions

Install the Whop Pixel on a Shopify store or WordPress site, so the site's page views, carts and purchases reach Whop.

The Whop account id (`biz_...`) is the pixel: a site embeds it and every event is scoped to it. Zernio lists it as the connection's one tracking tag.

## Install the Whop Pixel

Find the tag, then install it on a connected Shopify store or WordPress site:

```bash
curl "https://zernio.com/api/v1/accounts/ACCOUNT_ID/tracking-tags" \
  -H "Authorization: Bearer $ZERNIO_API_KEY"

curl -X POST "https://zernio.com/api/v1/accounts/ACCOUNT_ID/tracking-tags/biz_Ab3dEf9hJk2mN/install" \
  -H "Authorization: Bearer $ZERNIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "storeAccountId": "STORE_ACCOUNT_ID" }'
```

`GET .../tracking-tags/{biz_...}` returns Whop's official snippet as `code`, for a site Zernio does not manage.

## Events sent

On Shopify the web pixel posts to Whop what Whop's own Shopify pixel sends:

| Shopify event | Sent to Whop as |
|---------------|-----------------|
| Page viewed | `page` |
| Product viewed | `view_content` |
| Product added to cart | `add_to_cart` |
| Checkout completed | `purchase`, with value and currency |
| Search submitted, checkout started, payment info submitted | `shopify_search_submitted`, `shopify_checkout_started`, `shopify_payment_info_submitted` |

Each event carries Whop's `shopify:<event>:<id>` event id, so a store that also runs Whop's own pixel reports it once. On WordPress the widget holds Whop's official snippet with `whop.setScope`.

## How it behaves

- Create, update, stats, events, sharing and users are not available for Whop: the account id is the only tag.
- `POST /v1/events` does not send to Whop. Conversions reach Whop through its pixel only.

## If it fails

| Error | Cause | Fix |
|-------|-------|-----|
| `404` on the tag id | The id is not this connection's Whop account id | Use the id from `GET .../tracking-tags`. |
| `400` on install | The store is not a connected Shopify store or WordPress site | Connect the store first. |
| `409` with `reconnect_required` | The Shopify store was connected before pixel support | Send the merchant to `details.authUrl` to re-approve the Zernio app. |

## Related

- [List tracking tags](/tracking-tags/list-tracking-tags)
- [Install a tracking tag on a store](/tracking-tags/install-tracking-tag-on-store)
- [Limits and errors](/platforms/whop/reference)