Skip to content

v0.16.0

Choose a tag to compare

@mlnchk mlnchk released this 04 Nov 05:42
· 42 commits to main since this release
6fd8963

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, --csv and --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 --filter takes (#66)
  • adapty placements metrics list|get|values --type paywall: the same for paywall placements; get splits by audience or paywall (#66)

What to know:

  • --date-type and --based-on are required on paywalls metrics get; --based-on is required on placements metrics get.
  • A paywall or a paywall placement has no lifetime mode: give --date-from and --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 its items, the same form as the flow metrics.
  • In --csv, the level cell is root on 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