mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: Add Mixpanel project token to Analytics class
This commit is contained in:
parent
2e1ac25ce2
commit
121dd908a6
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import json
|
||||||
from mixpanel import Mixpanel
|
from mixpanel import Mixpanel
|
||||||
|
|
||||||
class Analytics:
|
class Analytics:
|
||||||
def __init__(self, project_token=None):
|
def __init__(self, project_token="3f9ad6b9d7b7e8e5a1a5a9a7b0b0b0b0"):
|
||||||
self.mp = Mixpanel(project_token) if project_token else None
|
self.mp = Mixpanel(project_token) if project_token else None
|
||||||
self.user_id = self.get_or_create_uuid()
|
self.user_id = self.get_or_create_uuid()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue