Tag Managers
Manage pixel-scoped tag manager containers: the parent of tags, triggers, variables, and folders. Create a tag manager, edit its display name and data-layer override, or delete the container (which cascade-deletes its children).
Tag managers are pixel-scoped containers that hold tags, triggers, variables, and folders. Create a tag manager to get a pixel token, then drop the install snippet on your site so the SDK can load and evaluate tags.
A new tag manager is seeded with three default triggers (Initialization, PageView, DomReady) and one OursInitTag so the container is immediately usable. Child entities are managed via the sibling resources:
/rest/v1/tag-manager-tags: fire tags on matching triggers/rest/v1/tag-manager-triggers: conditions that decide when tags fire/rest/v1/tag-manager-variables: reusable lookups for tag/trigger config/rest/v1/tag-manager-folders: dashboard-only grouping
Deleting a tag manager also deletes its tags, triggers, variables, and folders.
Create a preview link to try unpublished tags on your site. Links expire after one hour and should be kept private. Previewing can still send real events; use Test Mode to test destination delivery safely.
GET/rest/v1/tag-managers
Ours Privacy API key
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/tag-managers"{ "entities": [ { "id": "string", "accountId": "string", "name": "string", "pixel": "string", "dataLayerName": "string", "createdAt": "string", "updatedAt": "string" } ]}POST/rest/v1/tag-managers
Ours Privacy API key
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/rest/v1/tag-managers" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "accountId": "string", "name": "string", "pixel": "string", "dataLayerName": "string", "createdAt": "string", "updatedAt": "string"}GET/rest/v1/tag-managers/{id}
Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/tag-managers/string"{ "id": "string", "accountId": "string", "name": "string", "pixel": "string", "dataLayerName": "string", "createdAt": "string", "updatedAt": "string"}PATCH/rest/v1/tag-managers/{id}
Ours Privacy API key
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/rest/v1/tag-managers/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "accountId": "string", "name": "string", "pixel": "string", "dataLayerName": "string", "createdAt": "string", "updatedAt": "string"}DELETE/rest/v1/tag-managers/{id}
Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/rest/v1/tag-managers/string"{ "id": "string", "deleted": true}POST/rest/v1/tag-managers/{id}/preview
Ours Privacy API key
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/rest/v1/tag-managers/string/preview" \ -H "Content-Type: application/json" \ -d '{ "url": "http://example.com" }'{ "url": "string", "expiresAt": "string"}GET/rest/v1/tag-managers/{id}/install-snippet
Ours Privacy API key
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/rest/v1/tag-managers/string/install-snippet"{ "installScript": "string"}How is this guide?

