ask 2.5% of users to opt-in to analytics

This commit is contained in:
Paul Gauthier 2024-11-25 19:09:59 -08:00
parent 49ce9e1209
commit 7a34a2dfa9

View file

@ -78,7 +78,7 @@ class Analytics:
if not self.user_id:
return False
PERCENT = 1
PERCENT = 2.5
return self.is_uuid_in_percentage(self.user_id, PERCENT)
def is_uuid_in_percentage(self, uuid_str, percent):