Remove from a Shopify store or WordPress site
Removes the tag from the store. Idempotent: nothing installed returns 200 with
installed: false. If the store fires a different tag of the same platform, nothing is
removed and the call answers 409 invalid_resource_state. Shopify: other platforms'
tags stay; the web pixel itself is deleted once no tag remains.
WordPress: deletes every widget Zernio created for this pixel and reports how many in
removed (0 when nothing was installed). Pixel code added by hand is left alone.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
Tag id (TrackingTag.id).
Query Parameters
The connected Shopify or WordPress account id.
Scopes the tag lookup on platforms whose tag ids live inside an ad account.
Response Body
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.removeTrackingTagFromStore({ path: { accountId: 'account_abc123', tagId: 'tag_abc123', }, query: { storeAccountId: 'storeaccount_abc123', },});console.log(data);{ "platform": "metaads", "install": { "storeAccountId": "string", "platform": "shopify", "tagPlatform": "string", "siteTagId": "string", "installed": true, "shopDomain": "string", "installedTagId": "string", "tags": [ { "platform": "string", "siteTagId": "string", "widgetId": "string", "sidebarId": "string", "active": true } ], "webPixelId": "string", "siteUrl": "string", "method": "wordpress_widget", "widgetId": "string", "sidebarId": "string", "removed": 0 }}Get store install status
Whether this tag is the one the Shopify store fires for its platform. `installedTagId` names the tag of that platform the store currently fires, which can be a different tag, and `tags` lists every Zernio tag on the store (all platforms). 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. `tags` lists every Zernio widget on the site (all platforms, with `active`).
Get ad tracking tags
Unified read of the platform's native click-URL tracking params. - Meta (facebook/instagram): the creative's `url_tags` (and template_url_spec). - Google (googleads): the campaign's `trackingUrlTemplate` + `finalUrlSuffix`. - LinkedIn (linkedinads): the campaign's Dynamic UTM `dynamicValueParameters` + `customValueParameters`. Returns 405 for platforms without a click-URL tracking surface (TikTok, X, Pinterest). **Not pixels.** Despite the shared path segment, this endpoint has nothing to do with measurement tags. For an ad account's pixels use `GET /v1/accounts/{accountId}/tracking-tags?adAccountId=act_...` (Meta Pixels, with `kind` and `ownerAdAccountId`) or `GET /v1/accounts/{accountId}/conversion-destinations`.