Get analytics by tag

Return per-(tag value, day) counters. Rollups are keyed by tag value, not name.

GEThttps://api.mailfully.com/v1/analytics/by-tag

Return per-(tag value, day) counters. Rollups are keyed by tag value, not name. Summing across tags over-counts multi-tag messages — use daily analytics for true totals. Same window rules as daily analytics. Requires the read:analytics scope.

Loading code example
Loading code example

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

fromstring<date>

Inclusive lower bound as a `YYYY-MM-DD` day. Defaults to 30 days ago and is always clamped up to the plan retention floor.

tostring<date>

Inclusive upper bound as a `YYYY-MM-DD` day. Defaults to the current UTC day.

tagstring

Exact-match filter on the tag value.

Response

application/json

Per-(tag, day) counters.

dataarray<any>required