-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send dtoi param with usage ping #10061
Comments
Marking as |
Removing |
Re-adding |
Verified passed with
Moved computer date 15 days ahead: Verification passed on
Moved computer date 15 days ahead: Verification passed on
|
Verification passed on OnePlus 6T with Android 10 running 1.12.112 x64 build
{ “_id” : ObjectId(“5f33ef6be8dd460023eb6adb”), “daily” : true, “weekly” : true, “monthly” : true, “platform” : “android-bc”, “version” : “1.12.112”, “first” : true, “channel” : “release”, “woi” : “2020-08-10", “ref” : “SRI318", “country_code” : “IN”, “dtoi” : “2020-08-12", “braveDataCenter” : false, “braveAPIKeyStatus” : “matched”, “ts” : 1597239147472, “year_month_day” : “2020-08-12" }
{ “_id” : ObjectId(“5f33efc7e8dd460023eb6dce”), “daily” : true, “weekly” : true, “monthly” : false, “platform” : “android-bc”, “version” : “1.12.112”, “first” : false, “channel” : “release”, “woi” : “2020-08-10", “ref” : “SRI318", “country_code” : “IN”, “braveDataCenter” : false, “braveAPIKeyStatus” : “matched”, “ts” : 1597239239922, “year_month_day” : “2020-08-12" }
Thanks to @aekeus for helping it verify with backend system |
Description
https://docs.google.com/document/d/1iSYi_i52dP6YGdrUhP7J7DMBzxyPf9x6nFpg422LfLo/edit?usp=sharing
Each browser will need to store the YYYY-MM-DD encoded local date of installation. For the 14 days after installation, the usage ping should include a ‘dtoi’ entry containing the date of installation. After the 14 day period is over the ‘dtoi’ should be sent as null.
Example: The browser is installed on May 1st, 2020
For the dates including May 1st to May 14th, the usage ping should include the attribute 'dtoi': '2020-05-01'. For all days after the 14th of May the usage ping should send 'dtoi': null. Nothing else in the existing usage request body should change.
Test Plan:
The text was updated successfully, but these errors were encountered: