Repository navigation
v0.16.0
Paywall and paywall placement metrics
Read the metrics of paywalls and paywall placements, as the dashboard metrics page shows them.
adapty paywalls metrics get <paywall>: the metrics of one paywall for a date range, split by placement or audience (--based-on), with--group-by product|store|country,--filter,--granularity,--csvand--json(#66)adapty paywalls metrics list --ids <paywall>,<paywall>: one lifetime row for each paywall (#66)adapty paywalls metrics values <paywall>: the filter values that--filtertakes (#66)adapty placements metrics list|get|values --type paywall: the same for paywall placements;getsplits by audience or paywall (#66)
What to know:
--date-typeand--based-onare required onpaywalls metrics get;--based-onis required onplacements metrics get.- A paywall or a paywall placement has no lifetime mode: give
--date-fromand--date-to. Without them the server refuses the request with a message that names the date. - In
--json, the total is the root of the answer and the groups are itsitems, the same form as the flow metrics. - In
--csv, thelevelcell isrooton the first row and empty on the rows of a paywall tree (its nodes have no level). - A paywall placement list row has no view fields (views, unique views and the four view rates).
The tests run on Node 26 too (#70).
Full Changelog: v0.15.0...v0.16.0