goalDetail
Returns one non-deleted goal with full trigger filters, value settings, and A/B test counts; read it before
goalEdit to get the current triggers. Use goalRef or goalLinked for soft-deleted goals and goalCounts
for conversion metrics. An unknown, inaccessible, or deleted id returns Goal not found. Requires goal view
access.
goalDetail(
id: Int!
startDate: Int
endDate: Int
presetDate: String
): Goal!
Arguments
goalDetail.id ● Int! non-null scalar
Goal id from goalRefList or goalCardList.
goalDetail.startDate ● Int scalar
Ignored by this query; use goalCounts for date-filtered metrics.
goalDetail.endDate ● Int scalar
Ignored by this query; use goalCounts for date-filtered metrics.
goalDetail.presetDate ● String scalar
Ignored by this query, although an unrecognized preset returns an error.
Type
Goal object
Full goal returned by goalDetail, including triggers, value settings, and A/B test counts.