feat: Add Mixpanel project token to Analytics class

This commit is contained in:
Paul Gauthier (aider) 2024-08-12 16:07:12 -07:00
parent 2e1ac25ce2
commit 121dd908a6

View file

@ -4,7 +4,7 @@ import json
from mixpanel import Mixpanel
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.user_id = self.get_or_create_uuid()