ConfigGet where a tag fired

Get where a tag fired

Where one tag or snippet fired, grouped by page (host + path), by trigger (page_load or the event whose trigger rule matched) or by day. Each row names its group under the by value: page, trigger or day.

curl -X GET "https://mythic-analytics.gulp.workers.dev/client/v1/config/firings/tag/123e4567-e89b-12d3-a456-426614174000?by=page&limit=100&location_id=example_string&date_from=example_string&date_to=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "success": true,
  "data": [
    {
      "page": "shop.example.com/checkout",
      "trigger": "$autocapture",
      "day": "2026-09-24",
      "fires": 42,
      "sessions": 42,
      "first_fired": "2024-12-25T10:00:00Z",
      "last_fired": "2024-12-25T10:00:00Z"
    }
  ],
  "kind": "tag",
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "by": "page",
  "window": {
    "date_from": "2024-12-25T10:00:00Z",
    "date_to": "2024-12-25T10:00:00Z"
  }
}
GET
/client/v1/config/firings/{kind}/{id}
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token
Bearer Tokenstring
Required

Agency key (ak_) or location secret key (sk_). Writes require an agency key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too and need the tags, snippets or transformers family the route belongs to. See Using an mcp_ key over HTTP.

Agency key (ak_) or location secret key (sk_). Writes require an agency key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too and need the tags, snippets or transformers family the route belongs to. See Using an mcp_ key over HTTP.
path
kindstring
Required
Options: tag, snippet
path
idstring
Required

The tag's template id (its tag_id) or the snippet id.

Format: uuid
query
bystring
Options: page, trigger, day
query
limitinteger
Min: 1 • Max: 1000
query
location_idstring

Location to scope to. Required for ak_ keys (or send the X-Location-Id header); ignored for sk_.

query
date_fromstring

ISO date or timestamp. Default 30 days before date_to. The window is at most 365 days.

query
date_tostring

ISO date or timestamp. Default now.

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Agency key (ak_) or location secret key (sk_). Writes require an agency key. Keys are server-side credentials — this surface serves no CORS headers on purpose. Scoped keys (mcp_) are accepted too and need the tags, snippets or transformers family the route belongs to. See Using an mcp_ key over HTTP.

Path Parameters

kindstring
Required
Allowed values:tagsnippet
idstring
Required

The tag's template id (its tag_id) or the snippet id.

Query Parameters

bystring
Allowed values:pagetriggerday
location_idstring

Location to scope to. Required for ak_ keys (or send the X-Location-Id header); ignored for sk_.

date_fromstring

ISO date or timestamp. Default 30 days before date_to. The window is at most 365 days.

date_tostring

ISO date or timestamp. Default now.

Responses

successboolean
dataarray
kindstring
Allowed values:tagsnippet
idstring
bystring
Allowed values:pagetriggerday
windowobject