Skip to main content

ctaResult

Returns CTA view, click, and conversion event counts with an ascending, zero-filled daily series across inclusive UTC calendar dates. The ID must identify a CTA and startAt must be less than endAt. Use addonDetail for lifetime counters. Requires CTA view access; shared sessions are allowed.

ctaResult(
id: ID!
startAt: Int!
endAt: Int!
): CtaResults!

Arguments​

ctaResult.id ● ID! non-null scalar​

CTA UUID from addonList with type CTA.

ctaResult.startAt ● Int! non-null scalar​

Start time in Unix seconds, earlier than endAt; its UTC calendar date is included.

ctaResult.endAt ● Int! non-null scalar​

End time in Unix seconds, later than startAt; its UTC calendar date is included.

Type​

CtaResults object​

Aggregated CTA totals plus a zero-filled daily series so every calendar day in the requested range is represented even when no events were recorded. Returned by ctaResult.