List partner businesses of a tag
Lists the partner businesses a Meta pixel is shared with (read-only, sharing with new partners is not supported).
Read-only. Platforms without partner sharing answer 501.
Meta: the pixel's shared agencies. Sharing a pixel with a new partner is not available:
/{pixel}/agencies answers "(#3) Application does not have the capability to make this
API call" for our app.
Authentication
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
Path parameters
Tag id (TrackingTag.id).
Responses
Success· the request worked
Errors· the request failed
Remove a user from a tag
Removes a user's access to the tag, on platforms whose API allows it. Meta answers 501: the Business SDK has no delete on the pixel's assigned users, `DELETE /{pixel}/assigned_users` answers "Unsupported delete request" (code 100, subcode 33) and re-assigning with no tasks is refused. Remove the user in Business Settings.
Install on a Shopify, WordPress, Wix or Webflow site
Installs a pixel on a connected Shopify store or WordPress, Wix or Webflow site, so store visits and purchases are reported without editing the theme. ### Shopify (Meta pixel) Zernio puts the Meta pixel on the store's storefront and checkout through its Shopify web pixel (a Shopify app pixel, no theme edits). The store sends these events to the pixel, each with an event id: - PageView - ViewContent - AddToCart - Search - InitiateCheckout - AddPaymentInfo - Purchase (with value, currency, content_ids and contents) Purchase uses `shopify_order_{orderId}` as its event id. A Conversions API Purchase you send for the same order with that `eventId` is deduplicated by Meta. ### Idempotency and identifiers A store runs one Zernio web pixel holding one tag per platform, so the call is idempotent: - Calling it again updates the install. - Installing a different tag of the same platform replaces the previous one (reported in `replacedTagId`). - Other platforms' tags are kept. Events respect the store's customer privacy settings (marketing consent). - `accountId`: the Meta ads account that owns the pixel (`tagId`). - `storeAccountId`: the Shopify account. ### OpenAI Ads on Shopify Each event is sent through OpenAI's documented image tag (`GET https://bzr.openai.com/v1/sdk/events`) as: - `page_viewed` - `contents_viewed` - `items_added` - `checkout_started` - `order_created` - custom events `search` and `addpaymentinfo` (lowercase, so a Conversions API Search/AddPaymentInfo with the same event id deduplicates) Amounts are sent in the currency's minor unit. The landing page's `oppref` click id is kept in the `__oppref` cookie for 30 days and sent with every event. The image tag cannot carry the `__obref` browser id (OpenAI rejects the parameter), and the search text is never sent. On WordPress the widget holds the official `oaiq` base code and a `page_viewed` call. ### Whop on Shopify For Whop (`whopads`, `tagId` = the Whop account id `biz_...`), events are posted to Whop's conversions endpoint (`https://t.whop.tw/conversions`) the way Whop's own Shopify pixel does: - `page` - `view_content` - `add_to_cart` - `purchase` (with value and currency) - custom `shopify_search_submitted`, `shopify_checkout_started` and `shopify_payment_info_submitted` Each carries Whop's `shopify:<event>:<id>` event id, so a store that also runs Whop's own pixel reports each event once. The visitor id is kept in Whop's `_wuid` cookie for two years. Whop records purchases itself only for checkouts on Whop, so Shopify orders are reported here. On WordPress the widget holds the official snippet with `whop.setScope` and `whop.track("page")`. ### Reconnect and unsupported platforms - 409 `reconnect_required`: the store was connected before pixel support and must re-approve the Zernio app. Send the merchant to `details.authUrl` (the Shopify account id stays the same). - 501: the platform has no install path. ### WordPress Here `storeAccountId` is a connected WordPress.com or self-hosted site. Zernio adds a Custom HTML widget with the Meta pixel base code (fbevents.js, `init`, `PageView`) to a widget area of the active theme. It uses a footer area when there is one, else the first active area; pass `sidebarId` to choose. It then reads the widget back to confirm WordPress kept the `<script>` tag. The widget carries a Zernio marker, so the call is idempotent per pixel: repeating it updates or moves the same widget. Pixel code the site owner pasted by hand is never touched. Several pixels can run side by side (one widget each). When the site cannot run the pixel, nothing is left behind and the call answers 422 `tracking_tag_install_blocked` with `details.reason`: - `insufficient_permissions`: the connected user lacks `edit_theme_options` (needs Administrator). - `scripts_stripped`: WordPress removed the script (the user lacks `unfiltered_html`, e.g. a multisite admin who is not a Super Admin, or `DISALLOW_UNFILTERED_HTML` is set). - `wordpress_com_plan`: a WordPress.com plan that strips scripts (plans without plugins). - `no_widget_areas`: the theme has no widget areas (block themes such as Twenty Twenty-Five). - `widgets_api_unavailable`: no widgets REST API (WordPress older than 5.8, or disabled). The `error` message names the manual alternative (Meta's official WordPress plugin). With `verifyHomepage` (default true) the homepage is fetched afterwards and `homepageCheck` says whether the pixel is visible. `not_found` can be a stale page cache; the widget read-back is authoritative. ### LinkedIn For `linkedinads`, Shopify sends every page view to the Insight Tag. It also sends each store event that has an enabled event-specific Insight Tag conversion rule of the matching type: - view_content = VIEW_CONTENT - add_to_cart = ADD_TO_CART - search = SEARCH - initiate_checkout = START_CHECKOUT - add_payment_info = ADD_BILLING_INFO - purchase = PURCHASE Each conversion carries the event id. Purchase uses `shopify_order_{orderId}`, so a Conversions API event sent to a separate CONVERSIONS_API rule with that `eventId` is deduplicated by LinkedIn. Conversions API rules cannot be fired from a page, and no rule is created for you. The `li_fat_id` click id is read from the landing URL and kept in a first-party cookie for 30 days. WordPress gets LinkedIn's base code, which records page views. ### Pinterest For platform `pinterestads`, Shopify sends these events to the tag: `pagevisit`, `viewcontent`, `addtocart`, `search`, `initiatecheckout`, `addpaymentinfo` and `checkout`. Each carries `event_id` (Purchase: `shopify_order_{orderId}`, for dedup with the Pinterest Conversions API), value, currency, order quantity and line items, plus the `epik` click id kept in the `_epik` cookie. WordPress gets Pinterest's base code (core.js, `load`, `page`) with a `pagevisit` event. The manual fallback is the official Pinterest for WooCommerce plugin (WooCommerce stores). ### Wix Here `storeAccountId` is a connected Wix site. Zernio's Wix app embeds one script on the site that loads each installed tag's base code (the same code WordPress gets), so on Wix each tag records page views. Wix changes pages without reloading. Later page views are recorded again on Wix's own page-view event for Meta, TikTok, Google, Pinterest, OpenAI and Whop; LinkedIn and X count the first page of each visit. Like Shopify, the site holds one tag per platform: installing a different tag of the same platform replaces it (`replacedTagId`) and other platforms' tags are kept. The script is an Advertising script, so it runs only for visitors who accept advertising cookies when the site shows a cookie banner. Sites connected before pixel support answer 409 `reconnect_required` until the owner approves the Zernio app's new permission (`details.authUrl`, or Apps > Manage Apps in the Wix dashboard). ### Webflow Here `storeAccountId` is a Webflow site connected with "Connect with Webflow" (`GET /v1/connect/webflow`). Zernio applies one script to the site's custom code that loads each tag's base code, one tag per platform, as on Wix. Webflow publishes custom code only with the site, so the install answers `publishRequired: true` and the tags fire after the site's next publish (Zernio never publishes it). A site connected with a site token answers 409 `reconnect_required` with `details.authUrl` to connect it with the app (the account id stays the same).