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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Meta pixel id.
Query Parameters
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" } ] } }}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.