refactor: Add user_id to event properties
Adding user_id to event properties allows tracking of which user started the event Refactor COG-597
This commit is contained in:
parent
d90f5fe7c1
commit
2703215dec
1 changed files with 1 additions and 0 deletions
|
|
@ -52,6 +52,7 @@ def send_telemetry(event_name: str, user_id, additional_properties: dict = {}):
|
|||
},
|
||||
"properties": {
|
||||
"time": current_time.strftime("%m/%d/%Y"),
|
||||
"user_id": str(user_id),
|
||||
**additional_properties
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue