Paul Gauthier
|
4ec44936f6
|
analytics to 10%
|
2024-12-17 14:01:13 -08:00 |
|
Paul Gauthier
|
c708e8ba8e
|
refactor: Move PERCENT constant to top level
|
2024-12-17 13:02:07 -08:00 |
|
Paul Gauthier (aider)
|
60f26cc067
|
refactor: Move is_uuid_in_percentage and fix import
|
2024-12-17 12:55:43 -08:00 |
|
Paul Gauthier (aider)
|
64fa058bc7
|
style: Apply linter fixes
|
2024-12-17 12:55:29 -08:00 |
|
Paul Gauthier (aider)
|
9a770eeae9
|
refactor: Move uuid percentage check to standalone functions
|
2024-12-17 12:55:26 -08:00 |
|
Paul Gauthier
|
ffc2c5a26e
|
refactor: Move uuid percentage check to function
|
2024-12-17 12:55:24 -08:00 |
|
Paul Gauthier
|
910637c549
|
5% analytics
|
2024-12-13 06:51:50 -08:00 |
|
Paul Gauthier
|
f6b956dc8e
|
refactor: simplify voice command and improve installation docs
|
2024-12-11 13:52:33 -08:00 |
|
Paul Gauthier
|
57f4186cad
|
refactor: optimize analytics event tracking with system info as super properties
|
2024-12-08 11:49:12 -08:00 |
|
Paul Gauthier
|
f3a228c79a
|
feat: enable automatic exception capture in Posthog analytics
|
2024-12-04 19:55:56 -08:00 |
|
Paul Gauthier (aider)
|
699e283890
|
fix: add error handling for logfile writes in Analytics
|
2024-12-04 13:51:06 -08:00 |
|
Paul Gauthier
|
c51afc952c
|
chore: add comment about ignoring OsErrors in analytics logging
|
2024-12-04 13:51:05 -08:00 |
|
Paul Gauthier (aider)
|
4e1d18e206
|
style: remove unused Mixpanel import
|
2024-12-04 11:46:35 -08:00 |
|
Paul Gauthier
|
ff5a947a16
|
refactor: disable Mixpanel and add PostHog error handling
|
2024-12-04 11:46:27 -08:00 |
|
Paul Gauthier
|
3ee78ef557
|
skip ph.shutdown for faster exit
|
2024-11-30 13:29:39 -08:00 |
|
Paul Gauthier (aider)
|
ded5fe5ec0
|
style: remove trailing whitespace in analytics.py
|
2024-11-26 20:37:34 -08:00 |
|
Paul Gauthier (aider)
|
7dffa943fa
|
fix: handle analytics file access errors gracefully
|
2024-11-26 20:37:29 -08:00 |
|
Paul Gauthier
|
7a34a2dfa9
|
ask 2.5% of users to opt-in to analytics
|
2024-11-25 19:09:59 -08:00 |
|
Paul Gauthier
|
91daea9e01
|
simplify if
|
2024-11-23 14:15:36 -08:00 |
|
Paul Gauthier (aider)
|
12b789fc4e
|
fix: Handle Mixpanel connection errors by disabling tracking
|
2024-11-23 14:14:11 -08:00 |
|
Paul Gauthier
|
e9e51db9c7
|
improve precision, tests
|
2024-11-20 18:20:18 -08:00 |
|
Paul Gauthier (aider)
|
1a8949eea3
|
fix: Correct UUID percentage calculation in analytics method
|
2024-11-20 17:58:18 -08:00 |
|
Paul Gauthier
|
fa85bdceed
|
fix: Correct sampling logic by changing <= to < in UUID comparison
|
2024-11-20 17:58:16 -08:00 |
|
Paul Gauthier (aider)
|
6b703244ec
|
fix: Correct percentage calculation in is_uuid_in_percentage method
|
2024-11-20 17:56:07 -08:00 |
|
Paul Gauthier (aider)
|
1a1cb0d3f1
|
fix: Correct percentage calculation in UUID sampling method
|
2024-11-20 17:55:40 -08:00 |
|
Paul Gauthier (aider)
|
95c9863d0a
|
style: Fix linter formatting in analytics module
|
2024-11-20 17:54:22 -08:00 |
|
Paul Gauthier (aider)
|
82187f6a71
|
refactor: Extract UUID percentage testing logic into a separate method with tests
|
2024-11-20 17:54:16 -08:00 |
|
Paul Gauthier (aider)
|
75f52a1324
|
refactor: Improve user sampling logic with configurable percentage
|
2024-11-20 17:52:52 -08:00 |
|
Paul Gauthier
|
6e076a40a9
|
refactor: Modify analytics sampling logic to use 1% of users
|
2024-11-20 17:52:50 -08:00 |
|
Paul Gauthier
|
539a6cde63
|
feat: Enhance analytics opt-in logic with user sampling and explicit control
|
2024-11-20 16:22:01 -08:00 |
|
Paul Gauthier
|
3e2454b84b
|
cleanup
|
2024-10-31 11:49:17 -07:00 |
|
Paul Gauthier (aider)
|
e4913669d4
|
refactor: simplify event method to use main_model attributes
|
2024-10-31 10:08:43 -07:00 |
|
Paul Gauthier
|
8e098752bd
|
refactor: Use main_model attributes for weak and editor models in analytics
|
2024-10-31 10:08:41 -07:00 |
|
Paul Gauthier (aider)
|
6867dab89c
|
style: remove trailing whitespace in analytics.py
|
2024-10-31 10:06:52 -07:00 |
|
Paul Gauthier (aider)
|
09a9fac91e
|
refactor: extract model redaction logic and add model params
|
2024-10-31 10:05:10 -07:00 |
|
Paul Gauthier
|
2fd1681fab
|
refactor: add weak_model and editor_model args to analytics event method
|
2024-10-31 10:05:08 -07:00 |
|
Paul Gauthier
|
f957111141
|
feat: Add model info manager import to analytics module
|
2024-10-30 14:30:14 -07:00 |
|
Paul Gauthier
|
e94e60b1d2
|
refactor: improve model name redaction in analytics and model info handling
|
2024-10-30 14:29:29 -07:00 |
|
Paul Gauthier
|
267872b7e4
|
feat: add opt-in analytics collection with privacy notice
|
2024-10-30 13:15:57 -07:00 |
|
Paul Gauthier (aider)
|
bd59a8debf
|
refactor: extract analytics disable logic into dedicated method
|
2024-10-30 12:25:18 -07:00 |
|
Paul Gauthier
|
c0e137889c
|
style: Update analytics refactoring comment with method name
|
2024-10-30 12:25:17 -07:00 |
|
Paul Gauthier
|
5b84b901b2
|
chore: add TODO comment for analytics refactoring
|
2024-10-30 12:24:39 -07:00 |
|
Paul Gauthier (aider)
|
059883abf7
|
feat: add asked_opt_in tracking to analytics
|
2024-10-30 12:17:17 -07:00 |
|
Paul Gauthier
|
0b622a6fd7
|
chore: add comment for analytics opt-in tracking implementation
|
2024-10-30 12:17:15 -07:00 |
|
Paul Gauthier
|
0aad7b46f6
|
cleaner logic for load/save analytics.json
|
2024-08-16 11:28:13 -07:00 |
|
Paul Gauthier
|
4759297b67
|
disabled -> permanently_disabled
|
2024-08-16 11:03:14 -07:00 |
|
Paul Gauthier
|
607a9a8c86
|
track -> enable
|
2024-08-16 10:59:44 -07:00 |
|
Paul Gauthier (aider)
|
7b6ad16fdb
|
fix: Preserve existing UUID when marking analytics as disabled
|
2024-08-13 14:22:39 -07:00 |
|
Paul Gauthier (aider)
|
b722572a28
|
style: format analytics.py file
|
2024-08-13 13:03:54 -07:00 |
|
Paul Gauthier (aider)
|
46489f1a46
|
feat: Add PostHog analytics integration
|
2024-08-13 13:03:51 -07:00 |
|