Skip to content

Commit

Permalink
Send Country/OS/Version amplitude style (#20884)
Browse files Browse the repository at this point in the history
Release Notes:

- N/A
  • Loading branch information
ConradIrwin authored Nov 19, 2024
1 parent f77b6ab commit 705a06c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/collab/src/api/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1561,6 +1561,9 @@ fn for_snowflake(

let user_properties = Some(serde_json::json!({
"is_staff": body.is_staff,
"Country": country_code.clone(),
"OS": format!("{} {}", body.os_name, body.os_version.clone().unwrap_or_default()),
"Version": body.app_version.clone(),
}));

Some(SnowflakeRow {
Expand Down

0 comments on commit 705a06c

Please sign in to comment.