Zernio
Zernio
API Reference

Pixels & Tracking Tags

List accounts it is shared withGETList tracking tagsGETCreate a tracking tagPOSTGet ad tracking tagsGETGet aggregated event statsGETGet store install statusGETGet a tracking tagGETSet ad tracking tagsPATCHUpdate a tracking tagPATCHShare with an ad accountPOSTInstall on a Shopify store or WordPress sitePOSTRemove from a Shopify store or WordPress siteDELETEStop sharing with an accountDELETE
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
Pixels & Tracking Tags

Get store install status

Whether this pixel is the one the Shopify store fires. installedTagId names the pixel the store currently fires, which can be a different tag. Meta only (platform metaads).

WordPress: whether the Zernio widget for this pixel is live (in an active widget area, script intact), plus a read-only preflight with the theme's widget areas and, when an install would be blocked, the reason POST would return. The preflight reads capabilities only, so ready: true is not a guarantee: DISALLOW_UNFILTERED_HTML or a multisite admin who is not a Super Admin still strips the script, which POST detects.


PlatformsMetaShopifyWordPress
GET
/v1/accounts/{accountId}/tracking-tags/{tagId}/install

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string
tagId*string

Meta pixel id.

Query Parameters

storeAccountId*string

The connected Shopify or WordPress account id.

Response Body

application/json

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.trackingtags.getTrackingTagStoreInstall({  path: {    accountId: 'account_abc123',    tagId: 'tag_abc123',  },  query: {    storeAccountId: 'storeaccount_abc123',  },});console.log(data);
{  "platform": "metaads",  "install": {    "storeAccountId": "string",    "platform": "shopify",    "installed": true,    "shopDomain": "string",    "installedTagId": "string",    "webPixelId": "string",    "siteUrl": "string",    "method": "wordpress_widget",    "widgetId": "string",    "sidebarId": "string",    "preflight": {      "ready": true,      "reason": "string",      "sidebars": [        {          "id": "string",          "name": "string"        }      ]    }  }}
Was this page helpful?

Get aggregated event stats

Returns aggregated event counts for the pixel (`GET /{pixel_id}/stats`). Rows are passed through from Meta as-is; their shape depends on the `aggregation` requested. Meta only (platform `metaads`); other platforms return 405.

Get a tracking tag

Returns the full tag record including the base-code `code` snippet, `lastFiredTime`, `ownerBusinessId`, `isUnavailable`, etc. Meta only (platform `metaads`); other platforms return 405. OpenAI Ads has no get-by-id endpoint, so it 405s here too. Use `GET /v1/accounts/{accountId}/tracking-tags` (list) instead.