How to test usage based pricing v2
author: Yevgeniy Kurnossov created_at: 2021.04.30
in progress
Run A/B
Please test it on an incognito window.
Before creating a new user please make sure your active abs inside browser console - AB GLOBALS.ACTIVE_AB_TESTS if there is not ab usage_based_pricing_v2 please force it through cookies - usage_based_pricing_v2: usage_based
For quick testing, the real views counts were decreased on test servers. Also for collection the unique views need to publish the app and embed the html script inside some online editors or on your own site.

To check how many unique views were collected need to open the user dashboard and inside the console find the CURRENT_USER.unique_visits_count if it is an empty need to run aggregation worker on powr-counter. Just visit this link
Major update now user can have an yearly views = monthly-limit * 12
Check list
- On the standalone page there are 2 modals when users reached 75 or 100 percent of usage
- The reached overlay on owner apps
- End-users can not see apps
- Unblock user's apps when the user was upgraded to the next level
- Reset users views count when it is next month/year(it depends on the user created date)